CVE-2022-33980
CRITICAL 9.8CVSS 3.1Code injection in Apache Commons Configuration
Apache Commons Configuration performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is "${prefix:name}", where "prefix" is used to locate an instance of org.apache.commons.configuration2.interpol.Lookup that performs the interpolation. Starting with version 2.4 and continuing through 2.7, the set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - "script" - execute expressions using the JVM script execution engine (javax.script) - "dns" - resolve dns records - "url" - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used. Users are recommended to upgrade to Apache Commons Configuration 2.8.0, which disables the problematic interpolators by default.
- Published
- 6 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-xj57-8qj4-c4m6
- Sources
- NVDJSONOSV GHSA-xj57-8qj4-c4m6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | commons_configurationcpe:2.3:a:apache:commons_configuration:*:*:*:*:*:*:*:* |
>= 2.4, < 2.8 | 2.8 |
| NVD | netapp | snapcentercpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | Maven | org.apache.commons:commons-configuration2 | >= 2.4, < 2.8.0 | 2.8.0 |
References
- http://www.openwall.com/lists/oss-security/2022/07/06/5 · Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2022/11/15/4 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/tdf5n7j80lfxdhs2764vn0xmpfodm87s · Mailing List, Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20221028-0015/ · Third Party Advisory, WEB
- https://www.debian.org/security/2022/dsa-5290 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-33980 · ADVISORY
- https://commons.apache.org/proper/commons-configuration/changes-report.html#a2.8.0 · WEB
- https://github.com/apache/commons-configuration · PACKAGE
- https://issues.apache.org/jira/browse/CONFIGURATION-753 · WEB
- https://issues.apache.org/jira/browse/CONFIGURATION-764 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 6 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Jul 2022)