# CVE-2022-33980: Code injection in Apache Commons Configuration

Source: https://junglewise.ai/threats/cve-2022-33980-code-injection-in-apache-commons-configuration  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-07-07  
License: CC BY 4.0 with a link back

CVE-2022-33980 · Severity: low · CVSS 3.1 · Published 2022-07-07

Code injection in Apache Commons Configuration

Technologies: [org.apache.commons:commons-configuration2 (Maven)](https://junglewise.ai/threats/technologies/org-apache-commons-commons-configuration2). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-33980 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-33980 being exploited in the wild.

**How severe is CVE-2022-33980?** Low severity, with a CVSS score of 3.1, published 7 July 2022.

**Which products and versions are affected?** org.apache.commons:commons-configuration2 (Maven) ECOSYSTEM:introduced=2.4,fixed=2.8.0.

**Is there a fix for CVE-2022-33980?** Yes. org.apache.commons:commons-configuration2 (Maven): upgrade to 2.8.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-33980?** Check whether you run org.apache.commons:commons-configuration2 (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.commons:commons-configuration2 (Maven): upgrade to 2.8.0 or later

  ```sh
  # set org.apache.commons:commons-configuration2 to 2.8.0 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.commons:commons-configuration2 (Maven) ECOSYSTEM:introduced=2.4,fixed=2.8.0

## Identifiers

- CVE-2022-33980
- GHSA-xj57-8qj4-c4m6

## Related threats

- [Apache Commons Configuration uncontrolled recursion in YAMLConfiguration](https://junglewise.ai/threats/cve-2026-45205-apache-commons-configuration-uncontrolled-recursion-in)
- [Apache Commons Configuration: StackOverflowError calling ListDelimiterHandler.flatten(Object, int) with a cyclical object tree](https://junglewise.ai/threats/cve-2024-29133-apache-commons-configuration-stackoverflowerror-calling)
- [Apache Commons Configuration: StackOverflowError adding property in AbstractListDelimiterHandler.flattenIterator()](https://junglewise.ai/threats/cve-2024-29131-apache-commons-configuration-stackoverflowerror-adding-property)
- [Remote code execution in Apache Commons Configuration](https://junglewise.ai/threats/cve-2020-1953-remote-code-execution-in-apache-commons-configuration)
