CVE-2022-33980 Apache Commons Configuration insecure interpolation defaults
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.
Upgrade path
10 packages: 8 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netapp snapcenter | All versions | No fix listed | No fix yet |
| Apache Commons Configuration | >= 2.4, < 2.8.0; >= Apache Commons Configuration, < 2.4 | 2.4, 2.8.0 | Fixed |
| apache commons configuration | >= 2.4, < 2.8 | 2.8 | Fixed |
| debian/commons-configuration2(Debian 12) | < 2.8.0-1 | 2.8.0-1 | Fixed |
| debian/commons-configuration2(Debian 13) | < 2.8.0-1 | 2.8.0-1 | Fixed |
| debian/commons-configuration2(Debian 14) | < 2.8.0-1 | 2.8.0-1 | Fixed |
| org.apache.commons/commons-configuration2(Maven) | = 2.4; = 2.5; = 2.6; = 2.7 +1 more | 2.8.0 | Fixed |
| ubuntu/commons-configuration2(Ubuntu 22.04) | < 2.7-2ubuntu0.1~esm1 | 2.7-2ubuntu0.1~esm1 | Fixed |
| ubuntu/commons-configuration2(Ubuntu Pro 22.04) | < 2.7-2ubuntu0.1~esm1; = 2.7-2 | 2.7-2ubuntu0.1~esm1 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.commons/commons-configuration2(Maven) | >= 2.4, < 2.8.0 | 2.8.0 |
| org.apache.commons/commons-configuration2(Maven) | = 2.4 | No fix listed |
| org.apache.commons/commons-configuration2(Maven) | = 2.5 | No fix listed |
| org.apache.commons/commons-configuration2(Maven) | = 2.6 | No fix listed |
| org.apache.commons/commons-configuration2(Maven) | = 2.7 | No fix listed |
| Apache Commons Configuration | >= Apache Commons Configuration, < 2.4 | 2.4 |
| Apache Commons Configuration | >= 2.4, < 2.8.0 | 2.8.0 |
| apache commons configuration | >= 2.4, < 2.8 | 2.8 |
| netapp snapcenter | All versions | No fix listed |
| debian linux | = 11.0 | No fix listed |
| debian/commons-configuration2(Debian:12) | < 2.8.0-1 | 2.8.0-1 |
| debian/commons-configuration2(Debian:14) | < 2.8.0-1 | 2.8.0-1 |
| debian/commons-configuration2(Debian:13) | < 2.8.0-1 | 2.8.0-1 |
| ubuntu/commons-configuration2(Ubuntu:Pro:22.04) | < 2.7-2ubuntu0.1~esm1 | 2.7-2ubuntu0.1~esm1 |
| ubuntu/commons-configuration2(Ubuntu:Pro:22.04) | = 2.7-2 | No fix listed |
| ubuntu/commons-configuration2(Ubuntu:22.04) | < 2.7-2ubuntu0.1~esm1 | 2.7-2ubuntu0.1~esm1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- lists.apache.org mailing-list vendor-advisory
- commons.apache.org
- issues.apache.org
- issues.apache.org
- security.netapp.com third-party-advisory
- [oss-security] 20220706 CVE-2022-33980: Apache Commons Configuration insecure interpolation defaults mailing-list third-party-advisory
- [oss-security] 20221115 Multiple vulnerabilities in Jenkins plugins mailing-list third-party-advisory
- DSA-5290 third-party-advisory vendor-advisory
- github.com
- github.com product
- Debian Security Tracker CVE-2022-33980 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- www.openwall.com issue-tracking
- USN-9097-1 vendor-advisory