CVE-2021-35517
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.commons:commons-compress | Maven Central | 1.21, 1.20 |
| banking_apis | oracle | 18.3 |
| communications_session_route_manager | oracle | 8.2.5 |
| primavera_unifier | oracle | 17.12 |
| flexcube_universal_banking | oracle | 14.3.0 |
| commons_compress | apache | 1.20 |
| communications_diameter_intelligence_hub | oracle | 8.2.3 |
| banking_digital_experience | oracle | 18.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Commons Compress | 1.1 |
| Maven | org.apache.commons:commons-compress | 1.1 |
| Apache Software Foundation | Apache Commons Compress | 1.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
- x_refsource_MISC
- x_refsource_MISC
- [oss-security] 20210713 CVE-2021-35517: Apache Commons Compress 1.1 to 1.20 denial of service vulnerability mailing-listx_refsource_MLIST
- [announce] 20210713 CVE-2021-35517: Apache Commons Compress 1.1 to 1.20 denial of service vulnerability mailing-listx_refsource_MLIST
- [ant-user] 20210713 CVE-2021-36373: Apache Ant TAR archive denial of service vulnerability mailing-listx_refsource_MLIST
- [announce] 20210713 CVE-2021-36373: Apache Ant TAR archive denial of service vulnerability mailing-listx_refsource_MLIST
- [oss-security] 20210713 CVE-2021-36373: Apache Ant TAR archive denial of service vulnerability mailing-listx_refsource_MLIST
- [pulsar-commits] 20210716 [GitHub] [pulsar] lhotari opened a new pull request #11345: [Security] Upgrade commons-compress to 1.21 mailing-listx_refsource_MLIST
- [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 mailing-listx_refsource_MLIST
- [skywalking-notifications] 20210802 [skywalking] 01/01: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 mailing-listx_refsource_MLIST
- [skywalking-notifications] 20210803 [skywalking] branch master updated: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (#7400) mailing-listx_refsource_MLIST
- [skywalking-notifications] 20210803 [GitHub] [skywalking] hanahmily merged pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 mailing-listx_refsource_MLIST
- [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 mailing-listx_refsource_MLIST
- [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 mailing-listx_refsource_MLIST
- [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 mailing-listx_refsource_MLIST
- [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 mailing-listx_refsource_MLIST
- [poi-dev] 20210923 Re: [VOTE] Apache POI 5.1.0 release (RC1) mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
…and 3 more