CVE-2022-33980
CVE-2022-33980 · Apache Commons Configuration insecure interpolation defaults
CVSS 9.8 · Critical · EPSS 44.6% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- apache commons configurationUpdate to 2.8.0
- commons-configuration2 Debian 12Update to 2.8.0-1
- commons-configuration2 Debian 13Update to 2.8.0-1
- commons-configuration2 Debian 14Update to 2.8.0-1
- and 1 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="commons-configuration2"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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
- Updated
Fixes in distributions
- USN-9097-1 · Ubuntu Pro 22.04 LTS ·
- RHSA-2023:2097 · Red Hat satellite 6.13 el8, Red Hat satellite capsule 6.13 el8, Red Hat satellite maintenance 6.13 el8, Red Hat satellite utils 6.13 el8 ·
- openSUSE-SU-2024:13259-1 · openSUSE Tumbleweed ·
- DSA-5290-1 · Debian 11 ·
Stack: system
Affected products and versions
apache commons configuration
- Versions
- ≥ Apache Commons Configuration, < 2.8.0: Affected; ≥ 2.4: Affected (custom)
Update to 2.8.0
commons-configuration2 Debian 12
- Affected ranges
- ECOSYSTEM: < 2.8.0-1
Update to 2.8.0-1
commons-configuration2 Debian 13
- Affected ranges
- ECOSYSTEM: < 2.8.0-1
Update to 2.8.0-1
commons-configuration2 Debian 14
- Affected ranges
- ECOSYSTEM: < 2.8.0-1
Update to 2.8.0-1
commons-configuration2 Ubuntu Pro 22.04 LTS
- Versions
- 2.7-2
- Affected ranges
- ECOSYSTEM: < 2.7-2ubuntu0.1~esm1
Update to 2.7-2ubuntu0.1~esm1
Original sources
- https://lists.apache.org/thread/tdf5n7j80lfxdhs2764vn0xmpfodm87s
- http://www.openwall.com/lists/oss-security/2022/07/06/5
- https://security.netapp.com/advisory/ntap-20221028-0015/
- http://www.openwall.com/lists/oss-security/2022/11/15/4
- https://www.debian.org/security/2022/dsa-5290
- https://nvd.nist.gov/vuln/detail/CVE-2022-33980