CVE-2021-35517Apache Commons Compress 1.1 to 1.20 denial of service vulnerability
- 7.5HighCVSS base score
- 10.6%Exploitation in 30 daysEPSS · top 4.1% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By apache
- 16 days later
· 16 days later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 10.6% · top 4.1% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
Apache Software Foundation · Apache Commons Compress
- affected 1.1 – < Apache Commons Compress*
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.commons:commons-compressGHSA-xqfj-vm6h-2x34 (opens in a new tab)
What to do
Workaround: Commons Compress users should upgrade to 1.21 or later.
References
References22
- https://commons.apache.org/proper/commons-compress/security-reports.html (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.apache.org/thread.html/r605d906b710b95f1bbe0036a53ac6968f667f2c249b6fbabada9a940%40%3Cuser.commons.apache.org%3E (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20210713 CVE-2021-35517: Apache Commons Compress 1.1 to 1.20 denial of service vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20210713 CVE-2021-35517: Apache Commons Compress 1.1 to 1.20 denial of service vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ant-user] 20210713 CVE-2021-36373: Apache Ant TAR archive denial of service vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20210713 CVE-2021-36373: Apache Ant TAR archive denial of service vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20210713 CVE-2021-36373: Apache Ant TAR archive denial of service vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [pulsar-commits] 20210716 [GitHub] [pulsar] lhotari opened a new pull request #11345: [Security] Upgrade commons-compress to 1.21 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210802 [GitHub] [skywalking] wu-sheng opened a new pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210802 [skywalking] 01/01: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210803 [skywalking] branch master updated: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (#7400) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210803 [GitHub] [skywalking] hanahmily merged pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210803 [GitHub] [skywalking] codecov[bot] edited a comment on pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210802 [GitHub] [skywalking] codecov[bot] commented on pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [skywalking-notifications] 20210802 [GitHub] [skywalking] codecov[bot] edited a comment on pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [flink-issues] 20210908 [GitHub] [flink] MartijnVisser opened a new pull request #17194: [FLINK-24034] Upgrade commons-compress to 1.21 and other apache.commons updates (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [poi-dev] 20210923 Re: [VOTE] Apache POI 5.1.0 release (RC1) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20211022-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-1939 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xqfj-vm6h-2x34 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-35517)Record last updated .