CVE-2021-35517: Improper Handling of Length Parameter Inconsistency in Compress
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.54029%
CWE
Published
8/2/2021
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.commons:commons-compress | maven | < 1.21 | 1.21 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is related to the handling of TAR archives in the Apache Commons Compress library. The TarArchiveInputStream
class is responsible for reading TAR archives and is likely where the vulnerability exists. The patch evidence suggests that the fix involves changing how the size of TAR entries is handled, pointing to the read
method as a key location for the vulnerability.