CVE-2012-2098
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
12.806%
chance of exploitation in the next 30 days
higher than 96.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
Timeline
- 2012-06-29Published by the CNA00:00 UTC
- 2022-05-13GitHub advisory published (GHSA-6fxm-66hq-fc96)3605 days after publication
Exploit and advisory records
GitHub advisory GHSA-6fxm-66hq-fc96, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.apache.commons:commons-compress | before 1.4.1 | 1.4.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apache commons_compress | before 1.4.1fixed in 1.4.1 | 1.4.1 |
References
- http://ant.apache.org/security.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://secunia.com/advisories/49255
- http://archives.neohapsis.com/archives/bugtraq/2012-05/0130.html
- http://osvdb.org/82161
- http://packetstormsecurity.org/files/113014/Apache-Commons-Compress-Apache-Ant-Denial-Of-Service.html
- http://secunia.com/advisories/49286
- http://www-01.ibm.com/support/docview.wss?uid=swg21644047
- http://www.openwall.com/lists/oss-security/2023/09/13/3
- http://www.securityfocus.com/bid/53676
- http://www.securitytracker.com/id?1027096
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75857
- https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5%40%3Csolr-user.lucene.apache.org%3E
- https://www.oracle.com/security-alerts/cpujan2021.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2012-2098'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2012-2098'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2012-2098'curl 'https://api.contrastcyber.com/cve_products/CVE-2012-2098'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).