PT-2012-1206 · Apache · Apache Commons Compress
Published
2012-06-29
·
Updated
2024-02-21
·
CVE-2012-2098
CVSS v2.0
5.0
Medium
| Vector | AV: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
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Apache Commons Compress