Denial of service in Apache Commons Compress



| Updated: 2023-03-31
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2012-2098
CWE-ID CWE-400
Exploitation vector Network
Public exploit N/A
Vulnerable software
Apache Commons Compress
Universal components / Libraries / Libraries used by multiple products

Vendor Apache Foundation

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Resource exhaustion

EUVDB-ID: #VU74271

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2012-2098

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to algorithmic complexity in the sorting algorithms in bzip2 compressing stream (BZip2CompressorOutputStream). A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Apache Commons Compress: 1.1 - 1.4

CPE2.3 External links

https://secunia.com/advisories/49255
https://ant.apache.org/security.html
https://commons.apache.org/compress/security.html
https://www.securitytracker.com/id?1027096
https://lists.fedoraproject.org/pipermail/package-announce/2012-June/081746.html
https://lists.fedoraproject.org/pipermail/package-announce/2012-June/081697.html
https://packetstormsecurity.org/files/113014/Apache-Commons-Compress-Apache-Ant-Denial-Of-Service.html
https://www.securityfocus.com/bid/53676
https://osvdb.org/82161
https://archives.neohapsis.com/archives/bugtraq/2012-05/0130.html
https://secunia.com/advisories/49286
https://www-01.ibm.com/support/docview.wss?uid=swg21644047
https://lists.fedoraproject.org/pipermail/package-announce/2013-May/105060.html
https://lists.fedoraproject.org/pipermail/package-announce/2013-May/105049.html
https://exchange.xforce.ibmcloud.com/vulnerabilities/75857
https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@%3Csolr-user.lucene.apache.org%3E
https://www.oracle.com/security-alerts/cpujan2021.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###