CVE-2022-33980 Apache Commons Configuration
| Affected software | Apache Commons Configuration |
|---|---|
| Severity | 9.8 Critical CVSS 3.1 2 scores |
| Fixed in | 2.8.0 |
| Weakness | CWE-74 |
| Published | 6 Jul 2022 |
| Updated | 17 Jun 2026 |
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.
Exploitation status
Proof of concept only
A proof of concept exists, but no reviewed exploit catalogue lists this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC 4 indexed Published artifacts you can open, in GitHub PoC; first seen 2022-07-08.
- EPSS 45% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | CVE-2022-33980 Apache Commons Configuration 远程命令执行漏洞 | 43 | 2022-07-08 |
| GitHub PoC | CVE | 30 | 2022-08-10 |
| GitHub PoC | POC for CVE-2022-33980 (Apache Commons Configuration RCE vulnerability) | 5 | 2022-10-17 |
| GitHub PoC | text4shell script for text coomons < =1.10 CVE-2022-33980 | 1 | 2023-07-18 |
Waratek protection
A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.
- Protection none
- Action unverified
- Review automated Inferred
- Record active
| Decided by | The affected package being open source on Maven, so the fix can be read |
|---|---|
| Finding | This CVE affects an open-source Java library published on Maven Central (Maven packages: org.apache.commons:commons-configuration2), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on. |
CVSS
9.8 CRITICAL
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
9.8 CRITICAL v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| 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 |
NVD | Primary | published |
| CVSS 2.0 | 7.5 | none | AV:N/AC:L/Au:N/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update October 2023 ↗ | CPU | 2023-Q4 | Oracle Analytics / Content Storage Service (Apache Commons Configuration) (6.4.0.0.0, 7.0.0.0.0) Oracle Financial Services Applications / UI (Apache Commons Configuration) (2.7) |
| Oracle Critical Patch Update July 2023 ↗ | CPU | 2023-Q3 | Oracle Analytics / Presentation Services (Apache Commons Configuration) (6.4.0.0.0) |
| Oracle Critical Patch Update April 2023 ↗ | CPU | 2023-Q2 | Oracle Fusion Middleware / Third Party (Apache Commons Configuration) (12.2.1.4.0) Oracle Retail Applications / Xenvironment (Apache Commons Configuration) (18.0.5, 19.0.4, 20.0.3, 21.0.2) |
| Oracle Critical Patch Update January 2023 ↗ | CPU | 2023-Q1 | Oracle Communications Applications / Cloud native deployment (Apache Commons Configuration) (12.0.0.5.0-12.0.0.7.0) Oracle Financial Services Applications / Collections (Apache Commons Configuration) (2.7.0) Oracle Financial Services Applications / Studio (Apache Commons Configuration) (8.0.8.3.1) Oracle Financial Services Applications / Web UI (Apache Commons Configuration) (2.7.0) |
| Oracle Critical Patch Update October 2022 ↗ | CPU | 2022-Q4 | Oracle Fusion Middleware / BI Application Archive (Apache Commons Configuration) (5.9.0.0, 6.4.0.0) Oracle HealthCare Applications / Upload Service (Apache Commons Configuration) (8.1, 8.2) Oracle Hyperion / Installation and Configuration (Apache Commons Configuration) (11.2.9) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Analytics | Content Storage Service (Apache Commons Configuration) | 6.4.0.0.0, 7.0.0.0.0 | 6.4.0.0.0 · 7.0.0.0.0 |
| Oracle Analytics | Presentation Services (Apache Commons Configuration) | 6.4.0.0.0 | 6.4.0.0.0 |
| Oracle Communications Applications | Cloud native deployment (Apache Commons Configuration) | 12.0.0.5.0-12.0.0.7.0 | |
| Oracle Financial Services Applications | Collections (Apache Commons Configuration) | 2.7.0 | 2.7.0 |
| Oracle Financial Services Applications | Studio (Apache Commons Configuration) | 8.0.8.3.1 | 8.0.8.3.1 |
| Oracle Financial Services Applications | UI (Apache Commons Configuration) | 2.7 | 2.7 |
| Oracle Financial Services Applications | Web UI (Apache Commons Configuration) | 2.7.0 | 2.7.0 |
| Oracle Fusion Middleware | BI Application Archive (Apache Commons Configuration) | 5.9.0.0, 6.4.0.0 | 5.9.0.0 · 6.4.0.0 |
| Oracle Fusion Middleware | Third Party (Apache Commons Configuration) | 12.2.1.4.0 | 12.2.1.4.0 |
| Oracle HealthCare Applications | Upload Service (Apache Commons Configuration) | 8.1, 8.2 | 8.1 · 8.2 |
| Oracle Hyperion | Installation and Configuration (Apache Commons Configuration) | 11.2.9 | 11.2.9 |
| Oracle Retail Applications | Xenvironment (Apache Commons Configuration) | 18.0.5, 19.0.4, 20.0.3, 21.0.2 | 18.0.5 · 19.0.4 · 20.0.3 · 21.0.2 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.commons:commons-configuration2 |
2.4 | 2.8.0 |
unbounded |
Products and versions
4 products, 4 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | commons configuration | generic | ≥ 2.4 and < 2.8 |
| nvd | debian | debian linux | generic | 11.0 |
| nvd | netapp | snapcenter | generic | any version |
| osv | org.apache.commons | commons-configuration2 | generic | ≥ 2.4 and < 2.8.0 |
References
Timeline
Timeline
| Published | 2022-07-06 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |