# CVE-2012-2098: Uncontrolled Resource Consumption in Apache Commons Compress

Source: https://junglewise.ai/threats/cve-2012-2098-uncontrolled-resource-consumption-in-apache-commons-compress  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-13  
License: CC BY 4.0 with a link back

CVE-2012-2098 · Severity: info · Published 2022-05-13

Uncontrolled Resource Consumption in Apache Commons Compress

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

## Quick answers

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

**How severe is CVE-2012-2098?** Informational severity, published 13 May 2022.

**Which products and versions are affected?** org.apache.commons:commons-compress (Maven) ECOSYSTEM:introduced=0,fixed=1.4.1.

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

**Am I affected by CVE-2012-2098?** Check whether you run org.apache.commons:commons-compress (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-compress (Maven): upgrade to 1.4.1 or later

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


## Affected products

- org.apache.commons:commons-compress (Maven) ECOSYSTEM:introduced=0,fixed=1.4.1

## Identifiers

- CVE-2012-2098
- GHSA-6fxm-66hq-fc96

## Related threats

- [Apache Commons Compress: OutOfMemoryError unpacking broken Pack200 file](https://junglewise.ai/threats/cve-2024-26308-apache-commons-compress-outofmemoryerror-unpacking-broken-pack200)
- [Apache Commons Compress: Denial of service caused by an infinite loop for a corrupted DUMP file](https://junglewise.ai/threats/cve-2024-25710-apache-commons-compress-denial-of-service-caused-by-an-infinite)
- [Apache Commons Compress denial of service vulnerability](https://junglewise.ai/threats/cve-2023-42503-apache-commons-compress-denial-of-service-vulnerability)
- [Improper Handling of Length Parameter Inconsistency in Compress](https://junglewise.ai/threats/cve-2021-36090-improper-handling-of-length-parameter-inconsistency-in-compress)
- [Improper Handling of Length Parameter Inconsistency in Compress](https://junglewise.ai/threats/cve-2021-35517-improper-handling-of-length-parameter-inconsistency-in-compress)
