VDB

CVE-2021-35517

CVE-2021-35517 PUBLISHED CVSS 7.5 HIGH

Apache Commons Compress 1.1 to 1.20 denial of service vulnerability

Reported by apache · Published July 13, 2021

commons-compress is fixed in 1.21 and 1.20 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.commons:commons-compressMaven Central1.21, 1.20
banking_apisoracle18.3
communications_session_route_manageroracle8.2.5
primavera_unifieroracle17.12
flexcube_universal_bankingoracle14.3.0
commons_compressapache1.20
communications_diameter_intelligence_huboracle8.2.3
banking_digital_experienceoracle18.3

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Apache Software FoundationApache Commons Compress1.1
Mavenorg.apache.commons:commons-compress1.1
Apache Software FoundationApache Commons Compress1.1

Timeline

  • Jul 13, 2021 CVE Published
  • Jul 13, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 8, 2022 CVE Updated
  • Feb 8, 2024 PoC Published
  • Mar 17, 2026 Security Advisory (31 in total, the first dated here)
  • Jul 29, 2026 Coalition ESS Score
  • Nov 21, 2026 Distribution Patch (28 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-35517
vulnetix vdb fixes CVE-2021-35517

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-35517/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 3 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›