CVE-2021-35517 in the critical feed json
Apache Commons Compress 1.1 to 1.20 denial of service vulnerability
published 2021-07-13 5 y ago modified 2026-10-08 31 d ago also GHSA-xqfj-vm6h-2x34 , EUVD-2021-1939
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.6%
- EPSS 10.6% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.commons:commons-compress 1.21
- libcommons-compress-java Debian 14, Debian 13, Debian 12 1.21-1
debian advisories DEBIAN-CVE-2021-35517
- ovirt-web-ui rhev manager 4.4 1.9.0-1.el8ev
- ovirt-dependencies rhev manager 4.4 4.5.2-1.el8ev
- apache-commons-compress rhev manager 4.4 1.21-1.2.el8ev
- apache-commons-compress-javadoc rhev manager 4.4 1.21-1.2.el8ev
red hat advisories RHSA-2022:5555
- apache-commons-compress SLE Module for Development Tools 15 SP3, SLE Module for Development Tools 15 SP2 1.21-3.3.1
suse advisories SUSE-SU-2021:2612-1
- apache-commons-compress openSUSE Tumbleweed 1.21-1.2
- apache-commons-compress openSUSE Leap 15.2 1.21-lp152.2.3.1
- apache-commons-compress openSUSE Leap 15.3 1.21-3.3.1
opensuse advisories openSUSE-SU-2024:10618-1openSUSE-SU-2021:1115-1openSUSE-SU-2021:2612-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-35517 updated cvss 7.5
apache-commons-compress: excessive memory allocation when reading a specially crafted TAR archive
-
Red Hat Decision Manager 7 apache-commons-compressaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 apache-commons-compress, apache-commons-compress-javadoc Red Hat Enterprise Linux 8 apache-commons-compress, apache-commons-compress-javadocaffected: no fix planned “Will not fix”
-
Red Hat Process Automation 7 apache-commons-compressaffected: no fix planned “Out of support scope”
-
Red Hat Software Collections rh-maven36-apache-commons-compress, rh-maven36-apache-commons-compress-javadocaffected: no fix planned “Will not fix”
-
Red Hat Fuse 7.11fixed: vendor fix RHSA-2022:5532
-
Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 apache-commons-compress 1.21-1.2.el8ev, apache-commons-compress-javadoc 1.21-1.2.el8evfixed: vendor fix RHSA-2022:5555
-
Red Hat Enterprise Linux 9 apache-commons-compress Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 rhvm 4.5.1.2-0.11.el8ev, ovirt-web-ui 1.9.0-1.el8ev, ovirt-engine-dwh 4.5.3-1.el8ev, ovirt-engine 4.5.1.2-0.11.el8ev, postgresql-jdbc 42.2.14-1.el8ev, rhvm-branding-rhv 4.5.0-1.el8ev, +25 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 31 d ago
Exploit prediction
10.61% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.commons:commons-compress | <1.21 |
1.21 |
Affected products
- Apache Software Foundation Apache Commons Compress
Classification
References
-
oracle.com
/security-alerts/cpuoct2021.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujan2022.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujul2022.html
web, patch, third-party-advisory
-
commons.apache.org
/proper/commons-compress/security-reports.html
web, vendor-advisory
-
lists.apache.org
/thread.html/r605d906b710b95f1bbe0036a53ac6968f667f2c249b6fbabada9a940%40%3Cuser.commons.apache.org%3E
web, mailing-list, vendor-advisory
-
openwall.com
/lists/oss-security/2021/07/13/3
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/ra393ffdc7c90a4a37ea023946f390285693795013a642d80fba20203%40%3Cannounce.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r54afdab05e01de970649c2d91a993f68a6b00cd73e6e34e16c832d46%40%3Cuser.ant.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r457b2ed564860996b20d938566fe8bd4bfb7c37be8e205448ccb5975%40%3Cannounce.apache.org%3E
mailing-list
-
openwall.com
/lists/oss-security/2021/07/13/5
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/rb064d705fdfa44b5dae4c366b369ef6597951083196321773b983e71%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rd4332baaf6debd03d60deb7ec93bee49e5fdbe958cb6800dff7fb00e%40%3Cnotifications.skywalking.apache.or
mailing-list
-
lists.apache.org
/thread.html/rb7adf3e55359819e77230b4586521e5c6874ce5ed93384bdc14d6aee%40%3Cnotifications.skywalking.apache.or
mailing-list
-
lists.apache.org
/thread.html/rfba19167efc785ad3561e7ef29f340d65ac8f0d897aed00e0731e742%40%3Cnotifications.skywalking.apache.or
mailing-list
-
lists.apache.org
/thread.html/rba65ed5ddb0586f5b12598f55ec7db3633e7b7fede60466367fbf86a%40%3Cnotifications.skywalking.apache.or
mailing-list
-
lists.apache.org
/thread.html/r9f54c0caa462267e0cc68b49f141e91432b36b23348d18c65bd0d040%40%3Cnotifications.skywalking.apache.or
mailing-list
-
lists.apache.org
/thread.html/racd0c0381c8404f298b226cd9db2eaae965b14c9c568224aa3f437ae%40%3Cnotifications.skywalking.apache.or
mailing-list
-
lists.apache.org
/thread.html/rb6e1fa80d34e5ada45f72655d84bfd90db0ca44ef19236a49198c88c%40%3Cnotifications.skywalking.apache.or
mailing-list
-
lists.apache.org
/thread.html/r31f75743ac173b0a606f8ea6ea53f351f386c44e7bcf78ae04007c29%40%3Cissues.flink.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r67ef3c07fe3b8c1b02d48012149d280ad6da8e4cec253b527520fb2b%40%3Cdev.poi.apache.org%3E
mailing-list
-
security.netapp.com
/advisory/ntap-20211022-0001/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-35517
advisory
-
security.netapp.com
/advisory/ntap-20211022-0001
web
-
lists.apache.org
/thread.html/rfba19167efc785ad3561e7ef29f340d65ac8f0d897aed00e0731e742@%3Cnotifications.skywalking.apache.org%
web
-
lists.apache.org
/thread.html/rd4332baaf6debd03d60deb7ec93bee49e5fdbe958cb6800dff7fb00e@%3Cnotifications.skywalking.apache.org%
web
-
lists.apache.org
/thread.html/rba65ed5ddb0586f5b12598f55ec7db3633e7b7fede60466367fbf86a@%3Cnotifications.skywalking.apache.org%
web
-
lists.apache.org
/thread.html/rb7adf3e55359819e77230b4586521e5c6874ce5ed93384bdc14d6aee@%3Cnotifications.skywalking.apache.org%
web
-
lists.apache.org
/thread.html/rb6e1fa80d34e5ada45f72655d84bfd90db0ca44ef19236a49198c88c@%3Cnotifications.skywalking.apache.org%
web
-
lists.apache.org
/thread.html/rb064d705fdfa44b5dae4c366b369ef6597951083196321773b983e71@%3Ccommits.pulsar.apache.org%3E
web
-
lists.apache.org
/thread.html/racd0c0381c8404f298b226cd9db2eaae965b14c9c568224aa3f437ae@%3Cnotifications.skywalking.apache.org%
web
-
lists.apache.org
/thread.html/ra393ffdc7c90a4a37ea023946f390285693795013a642d80fba20203@%3Cannounce.apache.org%3E
web
-
lists.apache.org
/thread.html/r9f54c0caa462267e0cc68b49f141e91432b36b23348d18c65bd0d040@%3Cnotifications.skywalking.apache.org%
web
-
lists.apache.org
/thread.html/r67ef3c07fe3b8c1b02d48012149d280ad6da8e4cec253b527520fb2b@%3Cdev.poi.apache.org%3E
web
-
lists.apache.org
/thread.html/r54afdab05e01de970649c2d91a993f68a6b00cd73e6e34e16c832d46@%3Cuser.ant.apache.org%3E
web
-
lists.apache.org
/thread.html/r457b2ed564860996b20d938566fe8bd4bfb7c37be8e205448ccb5975@%3Cannounce.apache.org%3E
web
-
lists.apache.org
/thread.html/r31f75743ac173b0a606f8ea6ea53f351f386c44e7bcf78ae04007c29@%3Cissues.flink.apache.org%3E
web
Sources
- CVE List CVE-2021-35517
- GitHub Advisory GHSA-xqfj-vm6h-2x34
- NVD CVE-2021-35517
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.