Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.commons/commons-compress
  4. ›
  5. CVE-2012-2098

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

May 13, 2022 (updated July 13, 2022)

Algorithmic complexity vulnerability in the sorting algorithms in bzip2 compressing stream (BZip2CompressorOutputStream) in Apache Commons Compress before 1.4.1 allows remote attackers to cause a denial of service (CPU consumption) via a file with many repeating inputs.

References

  • ant.apache.org/security.html
  • lists.fedoraproject.org/pipermail/package-announce/2012-June/081697.html
  • lists.fedoraproject.org/pipermail/package-announce/2012-June/081746.html
  • lists.fedoraproject.org/pipermail/package-announce/2013-May/105049.html
  • lists.fedoraproject.org/pipermail/package-announce/2013-May/105060.html
  • packetstormsecurity.org/files/113014/Apache-Commons-Compress-Apache-Ant-Denial-Of-Service.html
  • www-01.ibm.com/support/docview.wss?uid=swg21644047
  • exchange.xforce.ibmcloud.com/vulnerabilities/75857
  • github.com/advisories/GHSA-6fxm-66hq-fc96
  • lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@%3Csolr-user.lucene.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2012-2098
  • www.oracle.com/security-alerts/cpujan2021.html

Code Behaviors & Features

Detect and mitigate CVE-2012-2098 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.1

Fixed versions

  • 1.4.1

Solution

Upgrade to version 1.4.1 or above.

Impact 5 MEDIUM

AV:N/AC:L/Au:N/C:N/I:N/A:P

Learn more about CVSS

Weakness

  • CWE-310

Source file

maven/org.apache.commons/commons-compress/CVE-2012-2098.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:41 +0000.