cve.bz

CVE-2022-33980

9.8 criticalEPSS 45%Fix available

Critical (9.8). EPSS 45% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.commons:commons-configuration2 2.8.0.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
45% (unchanged from 45% a week ago; 45% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-33980 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-33980?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-33980?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-33980 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Commons Configurationfrom Apache Commons Configuration before 2.8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xj57-8qj4-c4m6Mavenorg.apache.commons:commons-configuration2>=2.4 <2.8.02.8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11commons-configuration22.8.0-1~deb11u1DSA-5290-1
Debian12, 13, 14commons-configuration22.8.0-1DEBIAN-CVE-2022-33980
UbuntuPro:22.04:LTScommons-configuration22.7-2ubuntu0.1~esm1UBUNTU-CVE-2022-33980 USN-9097-1
Red Hatsatellite:6.13::el8foreman-obsolete-packages0:1.1-1.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8postgresql-evr0:0.0.2-1.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8python-websockify, python3-websockify0:0.10.0-3.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8qpid-dispatch, qpid-dispatch-tools, qpid-dispatch-router and 2 more0:1.14.0-6.el8RHSA-2023:2097
Red Hatsatellite:6.13::el8qpid-proton, qpid-proton-c, python3-qpid-proton and 5 more0:0.33.0-4.el8RHSA-2023:2097
Red Hatsatellite:6.13::el8rubygem-acts_as_list0:1.0.3-2.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8rubygem-algebrick, rubygem-websocket-driver, rubygem-websocket-driver-debuginfo and 1 more0:0.7.5-1.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8rubygem-anemone0:0.7.2-23.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8rubygem-apipie-rails0:0.8.2-1.1.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8rubygem-azure_mgmt_compute0:0.22.0-1.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8rubygem-azure_mgmt_network0:0.26.1-2.el8satRHSA-2023:2097
Red Hatsatellite:6.13::el8rubygem-azure_mgmt_resources0:0.18.2-1.el8satRHSA-2023:2097
188 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedapache-commons-configuration22.9.0-1.1openSUSE-SU-2024:13259-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Satellite embeds affected commons-configuration2 with Candlepin, however, product is not affected since vulnerable org.apache.commons.configuration2.interpol.Lookup is not exposed in code. Product Security has rated this vulnerability Low for Satellite and there is no harm identified to confidentiality, integrity, and availability.

ProductPackageStateAdvisory
AMQ Broker 7.10.1commons-configuration2Fixed 2022-10-12RHSA-2022:6916
Red Hat Fuse 7.11.1commons-configuration2Fixed 2022-11-28RHSA-2022:8652
Red Hat Satellite 6.13 for RHEL 8candlepin-0:4.2.13-1.el8satFixed 2023-05-03RHSA-2023:2097
A-MQ Clients 2commons-configuration2Not affected
Red Hat A-MQ Onlinecommons-configuration2Not affected
Red Hat build of Quarkuscommons-configuration2Not affected
Red Hat Data Grid 8commons-configuration2Not affected
Red Hat Decision Manager 7commons-configuration2Out of support scope
Red Hat Integration Camel K 1commons-configuration2Affected
Red Hat JBoss Data Grid 7commons-configuration2Out of support scope
Red Hat JBoss Enterprise Application Platform 7commons-configuration2Not affected
Red Hat JBoss Enterprise Application Platform Expansion Packcommons-configuration2Not affected
Red Hat OpenShift Container Platform 3.11jenkins-2-pluginsWill not fix
Red Hat OpenShift Container Platform 4jenkins-2-pluginsAffected
Red Hat Process Automation 7commons-configuration2Out of support scope
Red Hat support for Spring Bootcommons-configuration2Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-33980.

References

Check your stackJSON