CVE-2012-2098
MEDIUM 5.0CVSS 2.0Uncontrolled Resource Consumption in Apache Commons Compress
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.
- Published
- 29 Jun 2012
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-310CWE-400
- Also known as
- GHSA-6fxm-66hq-fc96
- Sources
- NVDJSONOSV GHSA-6fxm-66hq-fc96JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | commons_compresscpe:2.3:a:apache:commons_compress:*:*:*:*:*:*:*:* |
< 1.4.1 | 1.4.1 |
| OSV | Maven | org.apache.commons:commons-compress | < 1.4.1 | 1.4.1 |
References
- http://ant.apache.org/security.html · Vendor Advisory, WEB
- http://archives.neohapsis.com/archives/bugtraq/2012-05/0130.html · Third Party Advisory, WEB
- http://commons.apache.org/compress/security.html · Vendor Advisory, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081697.html · Third Party Advisory, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081746.html · Third Party Advisory, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105049.html · Third Party Advisory, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105060.html · Third Party Advisory, WEB
- http://osvdb.org/82161 · Broken Link
- http://packetstormsecurity.org/files/113014/Apache-Commons-Compress-Apache-Ant-Denial-Of-Service.html · Third Party Advisory, WEB
- http://secunia.com/advisories/49255 · Vendor Advisory
- http://secunia.com/advisories/49286 · Third Party Advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21644047 · Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2023/09/13/3 · WEB
- http://www.securityfocus.com/bid/53676 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id?1027096 · Third Party Advisory, VDB Entry
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75857 · Third Party Advisory, VDB Entry, WEB
- https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5%40%3Csolr-user.lucene.apache.org%3E
- https://www.oracle.com/security-alerts/cpujan2021.html · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-2098 · ADVISORY
- https://github.com/apache/commons-compress/commit/020c03d8ef579e80511023fb46ece30e9c3dd27d · WEB
- https://github.com/apache/commons-compress/commit/0600296ab8f8a0bbdfedd483f51b38005eb8e34e · WEB
- https://github.com/apache/commons-compress/commit/1ce57d976c4f25fe99edcadf079840c278f3cb84 · WEB
- https://github.com/apache/commons-compress/commit/2ab2fcb356753927afaa731b9d2dcc47d3083408 · WEB
- https://github.com/apache/commons-compress/commit/654222e628097763ee6ca561ae77be5c06666173 · WEB
- https://github.com/apache/commons-compress/commit/6ced422bf5eca3aac05396367bafb33ec21bf74e · WEB
- https://github.com/apache/commons-compress/commit/6e95697e783767f3549f00d7d2e1b002eac4a3d4 · WEB
- https://github.com/apache/commons-compress/commit/8f702469cbf4c451b6dea349290bc4af0f6f76c7 · WEB
- https://github.com/apache/commons-compress/commit/b06f7b41c936ef1a79589d16ea5c1d8b93f71f66 · WEB
- https://github.com/apache/commons-compress/commit/cca0e6e5341aacddefd4c4d36cef7cbdbc2a8777 · WEB
- https://github.com/apache/commons-compress/commit/ea31005111f0abede7e43e4ba0012e62e0808b22 · WEB
- https://github.com/apache/commons-compress/commit/fdd7459bc5470e90024dbe762249166481cce769 · WEB
- https://web.archive.org/web/20140724002926/http://secunia.com/advisories/49286 · WEB
- https://web.archive.org/web/20140724023114/http://secunia.com/advisories/49255 · WEB
- https://web.archive.org/web/20200517014414/http://www.securitytracker.com/id?1027096 · WEB
- https://web.archive.org/web/20130525085523/http://www.securityfocus.com/bid/53676 · WEB
- https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@<solr-user.lucene.apache.org> · WEB
- https://github.com/apache/commons-compress · PACKAGE
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 29 Jun 2012)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)