apache commons-compress CVE-2021-35517 vulnerability in Apache and Other Products
Published on July 13, 2021

Apache Commons Compress 1.1 to 1.20 denial of service vulnerability

product logo product logo product logo
When reading a specially crafted TAR archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' tar package.

NVD

Weakness Type

What is a length manipulation Vulnerability?

The software parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data. If an attacker can manipulate the length parameter associated with an input such that it is inconsistent with the actual length of the input, this can be leveraged to cause the target application to behave in unexpected, and possibly, malicious ways. One of the possible motives for doing so is to pass in arbitrarily large input to the application. Another possible motivation is the modification of application state by including invalid data for subsequent properties of the application. Such weaknesses commonly lead to attacks such as buffer overflows and execution of arbitrary code.

CVE-2021-35517 has been classified to as a length manipulation vulnerability or weakness.


Products Associated with CVE-2021-35517

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2021-35517 are published in these products:

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Affected Versions

Apache Software Foundation Apache Commons Compress:

Exploit Probability

EPSS
1.06%
Percentile
77.33%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.