CVE-2021-35516
publishedApache Commons Compress 1.6 to 1.20 denial of service vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Commons Compress1.6 to < Apache Commons Compress* | Affected | Not stated | apache |
| SUSE / openSUSE | SLE-15-SP2 | apache-commons-compressnoarch | Advisory build | 1.21-3.3.1 | SUSE-SU-2021:2612-1 |
| SUSE / openSUSE | SLE-15-SP3 | apache-commons-compressnoarch | Advisory build | 1.21-3.3.1 | SUSE-SU-2021:2612-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | apache-commons-compressnoarch | Advisory build | 1.21-lp152.2.3.1 | OPENSUSE-SU-2021:1115-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | apache-commons-compress-javadocnoarch | Advisory build | 1.21-lp152.2.3.1 | OPENSUSE-SU-2021:1115-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | apache-commons-compressnoarch | Advisory build | 1.21-3.3.1 | OPENSUSE-SU-2021:2612-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | apache-commons-compress-javadocnoarch | Advisory build | 1.21-3.3.1 | OPENSUSE-SU-2021:2612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-compressaarch64 | Advisory build | 1.21-1.2 | OPENSUSE-SU-2024:10618-1 |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-compressppc64le | Advisory build | 1.21-1.2 | OPENSUSE-SU-2024:10618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-compresss390x | Advisory build | 1.21-1.2 | OPENSUSE-SU-2024:10618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-compressx86_64 | Advisory build | 1.21-1.2 | OPENSUSE-SU-2024:10618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-compress-javadocaarch64 | Advisory build | 1.21-1.2 | OPENSUSE-SU-2024:10618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-compress-javadocppc64le | Advisory build | 1.21-1.2 | OPENSUSE-SU-2024:10618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-compress-javadocs390x | Advisory build | 1.21-1.2 | OPENSUSE-SU-2024:10618-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-compress-javadocx86_64 | Advisory build | 1.21-1.2 | OPENSUSE-SU-2024:10618-1 |
Description
When reading a specially crafted 7Z 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' sevenz package.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Commons Compress | 1.6 to < Apache Commons Compress* (affected · custom) | apache · cna |
Weaknesses
1- CWE-130 CWE-130 Improper Handling of Length Parameter Inconsistency
References
18- [oss-security] 20210713 CVE-2021-35516: Apache Commons Compress 1.6 to 1.20 denial of service vulnerability http://www.openwall.com/lists/oss-security/2021/07/13/2
- https://commons.apache.org/proper/commons-compress/security-reports.html
- [poi-dev] 20210923 Re: [VOTE] Apache POI 5.1.0 release (RC1) https://lists.apache.org/thread.html/r67ef3c07fe3b8c1b02d48012149d280ad6da8e4cec253b527520fb2b%40%3Cdev.poi.apache.org%3E
- [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 https://lists.apache.org/thread.html/r9f54c0caa462267e0cc68b49f141e91432b36b23348d18c65bd0d040%40%3Cnotifications.skywalking.apache.org%3E
- [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 https://lists.apache.org/thread.html/racd0c0381c8404f298b226cd9db2eaae965b14c9c568224aa3f437ae%40%3Cnotifications.skywalking.apache.org%3E
- [pulsar-commits] 20210716 [GitHub] [pulsar] lhotari opened a new pull request #11345: [Security] Upgrade commons-compress to 1.21 https://lists.apache.org/thread.html/rb064d705fdfa44b5dae4c366b369ef6597951083196321773b983e71%40%3Ccommits.pulsar.apache.org%3E
- [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 https://lists.apache.org/thread.html/rb6e1fa80d34e5ada45f72655d84bfd90db0ca44ef19236a49198c88c%40%3Cnotifications.skywalking.apache.org%3E
- [skywalking-notifications] 20210802 [skywalking] 01/01: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 https://lists.apache.org/thread.html/rb7adf3e55359819e77230b4586521e5c6874ce5ed93384bdc14d6aee%40%3Cnotifications.skywalking.apache.org%3E
- [skywalking-notifications] 20210803 [GitHub] [skywalking] hanahmily merged pull request #7400: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 https://lists.apache.org/thread.html/rba65ed5ddb0586f5b12598f55ec7db3633e7b7fede60466367fbf86a%40%3Cnotifications.skywalking.apache.org%3E
- [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 https://lists.apache.org/thread.html/rd4332baaf6debd03d60deb7ec93bee49e5fdbe958cb6800dff7fb00e%40%3Cnotifications.skywalking.apache.org%3E
- [announce] 20210713 CVE-2021-35516: Apache Commons Compress 1.6 to 1.20 denial of service vulnerability https://lists.apache.org/thread.html/rf5b1016fb15b7118b9a5e16bb0b78cb4f1dfcf7821eb137ab5757c91%40%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/rf68442d67eb166f4b6cf0bbbe6c7f99098c12954f37332073c9822ca%40%3Cuser.commons.apache.org%3E
- [skywalking-notifications] 20210803 [skywalking] branch master updated: Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (#7400) https://lists.apache.org/thread.html/rfba19167efc785ad3561e7ef29f340d65ac8f0d897aed00e0731e742%40%3Cnotifications.skywalking.apache.org%3E
- https://security.netapp.com/advisory/ntap-20211022-0001/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
Provider assertions
2apache · cna
Apache Commons Compress 1.6 to 1.20 denial of service vulnerability
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 63eb8532ca00f4ee7e7aa395b08ecdf6fbdbd8819d6b966f94845513a7d4ce25
- Ingested
- 23 Sep 2026, 07:54:59 UTC
- Source record
- Official CVE record