CVE-2021-35515: apache software foundation apache commons compress Excessive Iteration
CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2021-35515DEBIAN-CVE-2021-35515CGA-23x8-c8x6-rh9rCGA-27pv-px88-3vwjCGA-29x6-wgr9-7vgmCGA-2ggf-xh45-qgmrCGA-2ggx-rqh9-525qCGA-2pqw-92xh-w93hCGA-2wwq-59jq-9vr2CGA-32hh-ffq8-5v4hCGA-32mm-9p94-h5pwCGA-3479-2vhp-5mx2CGA-35vm-fjcp-gwf4CGA-366g-rv89-r7v8CGA-36mx-x8jp-539pCGA-372m-x2wv-jcjxCGA-3f4w-6rw8-wgx8CGA-3h5q-9v45-fj9cCGA-3hcv-w43v-96gmCGA-3j55-4pjm-vhfxCGA-3mx4-rh4x-4hjgCGA-4685-jf4x-gjf3CGA-46hg-258v-3mx4CGA-47qc-gqqq-922cCGA-48h8-p823-cpf2CGA-4m2g-v36f-q3w8CGA-4q2r-mp94-xw42CGA-53wp-9j59-2722CGA-57j8-5349-xhv9CGA-58wq-cfpg-f7g6CGA-5c7w-q2jj-x5q9CGA-5g52-gpv5-j2rxCGA-5gw2-gw4x-rgc5CGA-5jvc-xvx3-37mxCGA-5qxr-3v43-24g4CGA-5xp2-j5wp-9728CGA-5xxp-p46g-pcxgCGA-629m-m78v-5mjhCGA-6564-m299-5wp8CGA-6634-mm4j-fqx8CGA-678h-2688-q725CGA-67w8-gw67-436gCGA-68ww-g247-q5wgCGA-69cq-m6cw-2hw5CGA-6f75-rgrg-323pCGA-6frh-qq6x-c49mCGA-6h7p-xchr-rc6wCGA-6qj8-cwrr-8rccCGA-6w3x-4pc2-3cq8CGA-6wwp-r7pq-c9cgCGA-736j-x9rm-3qgvCGA-74mc-hf6j-j69qCGA-74p5-37jj-wc83CGA-753h-6p2q-74cfCGA-7fqv-2x6j-wv34CGA-7gv9-g7m4-m9qhCGA-7hjx-3c48-w9qvCGA-7p5p-h56f-xgwwCGA-8353-q5wc-q4r6CGA-8hc6-hj93-v6m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w6jhCGA-q4pr-9922-qgqrCGA-q734-pfqh-8m8pCGA-q8rh-6qhj-649gCGA-qf7w-692p-qgvqCGA-qgjr-7r69-vw4gCGA-qj66-hcmc-jv72CGA-qwcf-cmwm-g8r7CGA-qwr8-47hm-f474CGA-r452-jpv4-hf6wCGA-rhxf-7wg6-2q5wCGA-rqhg-53xw-rvr3CGA-rqj6-r6xj-r35pCGA-rqx8-h6g9-r7f5CGA-rrwg-pg6j-q465CGA-rwvr-76rq-ch84CGA-v27f-c3qj-7889CGA-v588-frqv-gmwmCGA-v6r2-2jwg-4g88CGA-v73j-p734-j7x3CGA-vf99-3mgj-mhc6CGA-vxh5-q64h-fw27CGA-w34h-9p9h-r8c6CGA-w5j8-vr62-36w8CGA-w9r5-jpwp-xfgrCGA-wm56-3vqq-8555CGA-wqrr-87jm-vh6gCGA-x4c9-5mw9-4q88CGA-x4g6-c235-xx7wCGA-xc3m-f56c-gvx4CGA-xgcx-38gj-jw7qCGA-xh2g-f35r-j5qcCGA-xhxw-x79p-854wCGA-xmq9-qhf8-rp4cCGA-xqpr-q444-q8q4CGA-xw25-cvr5-rjqv
Published 13-07-2021Last modified 04-08-2024
Vulnerability summary
CVE-2021-35515 is a high (CVSS 7.5) Excessive Iteration vulnerability in apache software foundation apache commons compress. EPSS estimates a 11.57% chance of exploitation in the next 30 days, higher than 95.9% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
11.57%
0%100%
Medium · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 6 · Related 4Timeline
- 13-07-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versionsHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 5 agree
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
11.57%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
0.00 pp
From 11.57% on 18-09-2026
18-09-202618-10-2026
EPSS score11.57%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-834Excessive IterationThe product performs an iteration or loop without sufficiently limiting the number of times that the loop is executed.
- CWE-835Loop with Unreachable Exit Condition ('Infinite Loop')The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Affected systems
Chainguard67 products
- eco-java-gradle-4.10All versions (No fix recorded)
- eco-java-gradle-4.10.1All versions (No fix recorded)
- eco-java-gradle-4.10.2All versions (No fix recorded)
- eco-java-gradle-4.10.3All versions (No fix recorded)
- eco-java-gradle-4.2All versions (No fix recorded)
Oracle23 products
- banking_digital_experience≥ 18.1, ≤ 18.3 | 19.1 | 20.1 | 21.1
- banking_enterprise_default_management2.7.0
- banking_party_management2.7.0
- banking_payments14.5
- banking_trade_finance14.5
Netapp2 products
Apache1 product
- commons_compress≥ 1.6, ≤ 1.20
Apache software foundation1 product
- apache commons compress≥ 1.6, < Apache Commons Compress*
Debian1 product
- libcommons-compress-java< 1.21-1
Org.apache.commons1 product
- commons-compress< 1.21
Ubuntu1 product
- libcommons-compress-javaAll versions (No fix recorded)
8 vendors · 97 products
References
40 links- commons.apache.org/proper/commons-compress/security-reports.htmlX Refsource MISCREPORTAdvisoryWEBVendor Advisory
- www.openwall.com/lists/oss-security/2021/07/13/1Mailing ListX Refsource MLISTREPORTAdvisoryWEBThird Party Advisory