CVE-2022-33980

NameCVE-2022-33980
DescriptionApache 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5290-1
Debian Bugs1014960

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
commons-configuration2 (PTS)buster2.2-1+deb10u1fixed
bullseye (security), bullseye2.8.0-1~deb11u1fixed
bookworm, trixie2.8.0-2fixed
sid2.10.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
commons-configuration2sourcebuster(not affected)
commons-configuration2sourcebullseye2.8.0-1~deb11u1DSA-5290-1
commons-configuration2source(unstable)2.8.0-11014960

Notes

[buster] - commons-configuration2 <not-affected> (Vulnerable code introduced later)
https://www.openwall.com/lists/oss-security/2022/07/06/5

Search for package or bug name: Reporting problems