What’s Vulnerable › Vulnerabilities
CVE-2012-2098
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 12.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2012-06-29 · updated 2026-06-16
- Weakness: CWE-310
Description
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.
Affected products
- Apache Software Foundation Apache Commons Compress: before 1.4.1 — fixed in 1.4.1
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache Commons Compress 1.4.1. Check the vendor advisory for mitigations.
References
- http://ant.apache.org/security.html
- http://archives.neohapsis.com/archives/bugtraq/2012-05/0130.html
- http://commons.apache.org/compress/security.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081697.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081746.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105049.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105060.html
- http://osvdb.org/82161
- http://packetstormsecurity.org/files/113014/Apache-Commons-Compress-Apache-Ant-Denial-Of-Service.html
- http://secunia.com/advisories/49255
- http://secunia.com/advisories/49286
- http://www-01.ibm.com/support/docview.wss?uid=swg21644047
Get alerted when CVE-2012-2098 or the next vulnerability affects your stack