CVE-2021-35515: Apache Commons Compress 1.6 to 1.20 denial of service vulnerability
Noroxi assessment
Priority: Monitor (action score 33/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 11.5% (FIRST EPSS); higher than 96% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: libcommons-compress-java (Debian:12) 1.21-1; org.apache.commons:commons-compress (Maven) 1.21; apache-commons-compress (openSUSE:Leap 15.2) 1.21-lp152.2.3.1.
- Mentioned 4 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to libcommons-compress-java (Debian:12) 1.21-1; org.apache.commons:commons-compress (Maven) 1.21; apache-commons-compress (openSUSE:Leap 15.2) 1.21-lp152.2.3.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
When reading a specially crafted 7Z archive, the construction of the list of codecs that decompress an entry can result in an infinite loop. This could be used to mount a denial of service attack against services that use Compress' sevenz package.
- Published
- Jul 13, 2021
- Updated
- Jun 16, 2026
- EPSS
- 11.5% · 96th percentile
- CWE
- CWE-834
Report tools
Action score
33
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 11.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | commons compress | cpe:2.3:a:apache:commons_compress |
| netapp | active iq unified manager | cpe:2.3:a:netapp:active_iq_unified_manager |
| netapp | oncommand insight | cpe:2.3:a:netapp:oncommand_insight |
| oracle | banking digital experience | cpe:2.3:a:oracle:banking_digital_experience |
| oracle | banking enterprise default management | cpe:2.3:a:oracle:banking_enterprise_default_management |
| oracle | banking party management | cpe:2.3:a:oracle:banking_party_management |
| oracle | banking payments | cpe:2.3:a:oracle:banking_payments |
| oracle | banking trade finance | cpe:2.3:a:oracle:banking_trade_finance |
| oracle | banking treasury management | cpe:2.3:a:oracle:banking_treasury_management |
| oracle | business process management suite | cpe:2.3:a:oracle:business_process_management_suite |
| oracle | commerce guided search | cpe:2.3:a:oracle:commerce_guided_search |
| oracle | communications billing and revenue management | cpe:2.3:a:oracle:communications_billing_and_revenue_management |
and 14 more
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache Commons Compress
- 1.6 and later · before Apache Commons Compress*affected
Affected versions · NVD (20)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache commons compress1.6 and later · up to 1.20 inclusive
- netapp active iq unified managerall versions
- netapp oncommand insightall versions
- oracle banking digital experience18.1 and later · up to 18.3 inclusive
- oracle banking digital experience19.1
- oracle banking digital experience20.1
- oracle banking digital experience21.1
- oracle banking enterprise default management2.7.0
- oracle banking party management2.7.0
- oracle banking payments14.5
- oracle banking trade finance14.5
- oracle banking treasury management14.5
- oracle business process management suite12.2.1.3.0
- oracle business process management suite12.2.1.4.0
- oracle commerce guided search11.3.2
- oracle communications billing and revenue management12.0.0.4
- oracle communications cloud native core automated test suite1.8.0
- oracle communications cloud native core service communication proxy1.14.0
- oracle communications cloud native core unified data repository1.14.0
- oracle communications diameter intelligence hub8.0.0 and later · up to 8.2.3 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libcommons-compress-java | before 1.21-1 | 1.21-1 |
| Maven | org.apache.commons:commons-compress | before 1.21 | 1.21 |
| openSUSE:Leap 15.2 | apache-commons-compress | before 1.21-lp152.2.3.1 | 1.21-lp152.2.3.1 |
| openSUSE:Leap 15.3 | apache-commons-compress | before 1.21-3.3.1 | 1.21-3.3.1 |
| openSUSE:Tumbleweed | apache-commons-compress | before 1.21-1.2 | 1.21-1.2 |
| Red Hat:rhev_manager:4.4:el8 | apache-commons-compress | before 0:1.21-1.2.el8ev | 0:1.21-1.2.el8ev |
| Red Hat:rhev_manager:4.4:el8 | apache-commons-compress-javadoc | before 0:1.21-1.2.el8ev | 0:1.21-1.2.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-dependencies | before 0:4.5.2-1.el8ev | 0:4.5.2-1.el8ev |
| Red Hat:rhev_manager:4.4:el8 | ovirt-web-ui | before 0:1.9.0-1.el8ev | 0:1.9.0-1.el8ev |
| SUSE:Linux Enterprise Module for Development Tools 15 SP2 | apache-commons-compress | before 1.21-3.3.1 | 1.21-3.3.1 |
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-12402The file name encoding algorithm used internally in Apache Commons Compress 1.15 to 1.18 can get into an infinite loop when faced with…35Monitor
- CVE-2021-36090Apache Commons Compress 1.0 to 1.20 denial of service vulnerability34Monitor
- CVE-2021-35516Apache Commons Compress 1.6 to 1.20 denial of service vulnerability34Monitor
Published before and after this one in the same product
- ← EarlierCVE-2018-1324Mar 16, 2018 · A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the…23Monitor
- ← EarlierCVE-2018-11771Aug 16, 2018 · When reading a specially crafted ZIP archive, the read method of Apache Commons Compress 1.7 to 1.17's ZipArchiveInputStream can fail to…24Monitor
- Later →CVE-2021-35517Jul 13, 2021 · Apache Commons Compress 1.1 to 1.20 denial of service vulnerability33Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libcommons-compress-java | 1.21-1 · Debian:12 | Package registry (OSV) |
| Maven:org.apache.commons:commons-compress | 1.21 | Package registry (OSV) |
| opensuse:apache-commons-compress | 1.21-lp152.2.3.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:apache-commons-compress | 0:1.21-1.2.el8ev · Red Hat:rhev_manager:4.4:el8 | Package registry (OSV) |
| red hat:apache-commons-compress-javadoc | 0:1.21-1.2.el8ev · Red Hat:rhev_manager:4.4:el8 | Package registry (OSV) |
| red hat:ovirt-dependencies | 0:4.5.2-1.el8ev · Red Hat:rhev_manager:4.4:el8 | Package registry (OSV) |
| red hat:ovirt-web-ui | 0:1.9.0-1.el8ev · Red Hat:rhev_manager:4.4:el8 | Package registry (OSV) |
| suse:apache-commons-compress | 1.21-3.3.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-21-0989 · Dec 13, 2021(IBM Güvenlik Bildirimi)
- TR-21-0756 · Sep 20, 2021(IBM Güvenlik Bülteni Yayınladı)
- TR-21-0701 · Sep 3, 2021(IBM Güvenlik Bülteni Yayınladı)
- TR-21-0579 · Jul 14, 2021(Apache Güvenlik Zafiyeti)
Not on record for this CVE: EPSS history · patch commit or PR link · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-834 · Excessive IterationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- commons.apache.org/proper/commons-compress/security-reports.html
- lists.apache.org/thread.html/r19ebfd71770ec0617a9ea180e321ef927b3fefb4c81ec5d1902d20ab%40%3Cuser.commons.apache.org%3E
- lists.apache.org/thread.html/r67ef3c07fe3b8c1b02d48012149d280ad6da8e4cec253b527520fb2b%40%3Cdev.poi.apache.org%3E
- lists.apache.org/thread.html/r9f54c0caa462267e0cc68b49f141e91432b36b23348d18c65bd0d040%40%3Cnotifications.skywalking.apache.org%3E
- lists.apache.org/thread.html/rab292091eadd1ecc63c516e9541a7f241091cf2e652b8185a6059945%40%3Ccommits.druid.apache.org%3E
- lists.apache.org/thread.html/racd0c0381c8404f298b226cd9db2eaae965b14c9c568224aa3f437ae%40%3Cnotifications.skywalking.apache.org%3E
- lists.apache.org/thread.html/rb064d705fdfa44b5dae4c366b369ef6597951083196321773b983e71%40%3Ccommits.pulsar.apache.org%3E
- lists.apache.org/thread.html/rb6e1fa80d34e5ada45f72655d84bfd90db0ca44ef19236a49198c88c%40%3Cnotifications.skywalking.apache.org%3E
- lists.apache.org/thread.html/rb7adf3e55359819e77230b4586521e5c6874ce5ed93384bdc14d6aee%40%3Cnotifications.skywalking.apache.org%3E
- lists.apache.org/thread.html/rba65ed5ddb0586f5b12598f55ec7db3633e7b7fede60466367fbf86a%40%3Cnotifications.skywalking.apache.org%3E
- lists.apache.org/thread.html/rbaea15ddc5a7c0c6b66660f1d6403b28595e2561bb283eade7d7cd69%40%3Cannounce.apache.org%3E
- lists.apache.org/thread.html/rbe91c512c5385181149ab087b6c909825d34299f5c491c6482a2ed57%40%3Ccommits.druid.apache.org%3E
- lists.apache.org/thread.html/rd4332baaf6debd03d60deb7ec93bee49e5fdbe958cb6800dff7fb00e%40%3Cnotifications.skywalking.apache.org%3E
- lists.apache.org/thread.html/rf2f4d7940371a7c7c5b679f50e28fc7fcc82cd00670ced87e013ac88%40%3Ccommits.druid.apache.org%3E
- lists.apache.org/thread.html/rfba19167efc785ad3561e7ef29f340d65ac8f0d897aed00e0731e742%40%3Cnotifications.skywalking.apache.org%3E
- security.netapp.com/advisory/ntap-20211022-0001/
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujan2022.html
- www.oracle.com/security-alerts/cpujul2022.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.