PT-2012-1206 · Apache · Apache Commons Compress

Published

2012-06-29

·

Updated

2024-02-21

·

CVE-2012-2098

CVSS v2.0

5.0

Medium

VectorAV:N/AC:L/Au:N/C:N/I:N/A:P
Name of the Vulnerable Software and Affected Versions Apache Commons Compress versions prior to 1.4.1
Description The issue concerns a problem with the sorting algorithms in the bzip2 compressing stream, specifically in the BZip2CompressorOutputStream function of Apache Commons Compress. This allows remote attackers to cause a denial of service by consuming CPU resources via a file containing many repeating inputs. The vulnerability can be exploited to disrupt service.
Recommendations For versions prior to 1.4.1, update to version 1.4.1 or later to resolve the issue. As a temporary workaround, consider restricting the use of the BZip2CompressorOutputStream function to minimize the risk of exploitation. Avoid processing files with many repeating inputs in the affected API endpoint until the issue is resolved.

Fix

Resource Exhaustion

Weakness Enumeration

Related Identifiers

BDU:2021-00592
CVE-2012-2098
GHSA-6FXM-66HQ-FC96
MGASA-2014-0056

Affected Products

Apache Commons Compress