CVE-2021-35517
JSON

7.5high

Apache Commons Compress 1.1 to 1.20 denial of service vulnerability

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
10.6% (higher than 97% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-xqfj-vm6h-2x34

Description

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.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Commons Compressfrom 1.1 before Apache Commons Compress*CVE List
org.apache.commons:commons-compress (Maven)before 1.21GitHub Advisory Database
apache commons_compressfrom 1.1 up to 1.20NVD
netapp active_iq_unified_managerNot specifiedNVD
netapp oncommand_insightNot specifiedNVD
oracle banking_apisfrom 18.1 up to 18.3, 19.1, 19.2, 20.1, 21.1NVD
oracle banking_digital_experiencefrom 18.1 up to 18.3, 19.1, 19.2, 20.1, 21.1NVD
oracle banking_enterprise_default_management2.7.0NVD
oracle banking_party_management2.7.0NVD
oracle banking_payments14.5NVD
oracle banking_trade_finance14.5NVD
oracle banking_treasury_management14.5NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

CWE-130CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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 (es)

Cuando se lee un archivo TAR especialmente diseñado, Compress puede asignar grandes cantidades de memoria que finalmente conllevan a un error de falta de memoria incluso para entradas muy pequeñas. Esto podría ser usado para montar un ataque de denegación de servicio contra servicios que usan el paquete tar de Compress

References

https://commons.apache.org/proper/commons-compress/security-reports.htmlvendor-advisory, web
https://lists.apache.org/thread.html/r605d906b710b95f1bbe0036a53ac6968f667f2c249b6fbabada9a940%40%3Cuser.commons.apache.org%3Emailing-list, vendor-advisory, web
http://www.openwall.com/lists/oss-security/2021/07/13/3mailing-list, third-party-advisory, web
https://lists.apache.org/thread.html/ra393ffdc7c90a4a37ea023946f390285693795013a642d80fba20203%40%3Cannounce.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r54afdab05e01de970649c2d91a993f68a6b00cd73e6e34e16c832d46%40%3Cuser.ant.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r457b2ed564860996b20d938566fe8bd4bfb7c37be8e205448ccb5975%40%3Cannounce.apache.org%3Emailing-list
http://www.openwall.com/lists/oss-security/2021/07/13/5mailing-list, third-party-advisory, web
https://lists.apache.org/thread.html/rb064d705fdfa44b5dae4c366b369ef6597951083196321773b983e71%40%3Ccommits.pulsar.apache.org%3Emailing-list
https://lists.apache.org/thread.html/rd4332baaf6debd03d60deb7ec93bee49e5fdbe958cb6800dff7fb00e%40%3Cnotifications.skywalking.apache.org%3Emailing-list
https://lists.apache.org/thread.html/rb7adf3e55359819e77230b4586521e5c6874ce5ed93384bdc14d6aee%40%3Cnotifications.skywalking.apache.org%3Emailing-list
https://lists.apache.org/thread.html/rfba19167efc785ad3561e7ef29f340d65ac8f0d897aed00e0731e742%40%3Cnotifications.skywalking.apache.org%3Emailing-list
https://lists.apache.org/thread.html/rba65ed5ddb0586f5b12598f55ec7db3633e7b7fede60466367fbf86a%40%3Cnotifications.skywalking.apache.org%3Emailing-list

Sources

SourceRecordLicence
CVE ListCVE-2021-35517 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-xqfj-vm6h-2x34 changed 2024-03-08CC-BY-4.0
NVDCVE-2021-35517 changed 2026-10-08Public domain