Apache Commons Compress 1.0 to 1.20 denial of service vulnerability
Published Jul 13, 2021
7.5
HIGHCVSS 3.1
EPSS 12.95%
Description
When reading a specially crafted ZIP 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' zip package.
Affected products
-
- Version Apache Commons CompressStatusaffectedConstraints<=1.20
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Commons Compress | n/a |
|
Configuration 1
- ≥ 1.0 · < 1.21
Configuration 2
- ≥ 18.1 · ≤ 18.3
- 19.1
- 19.2
- 20.1
- 21.1
- ≥ 18.1 · ≤ 18.3
- 19.1
- 19.2
- 20.1
- 21.1
- 2.7.0
- 2.7.0
- 14.5
- 2.6.2
- 2.7.1
- 2.9.0
- 2.12.0
- 14.5
- 14.5
- 12.2.1.3.0
- 12.2.1.4.0
- 11.3.2
- 12.0.0.4
- 1.8.0
- 1.14.0
- 1.14.0
- ≥ 8.0.0 · ≤ 8.2.3
- 8.2.3
- ≥ 8.2.0 · ≤ 8.2.4.0
- ≥ 8.2.0 · ≤ 8.2.5.0
- ≥ 8.0.0 · ≤ 8.2.5.0
- 7.4.0
- 7.4.1
- 7.4.2
- 7.5.0
- ≥ 8.0.6 · ≤ 8.1.1
- 8.0.8.2.0
- 8.0.8.3.0
- n/a
- 8.0.7.2.0
- 8.0.8.1.0
- ≥ 14.0.0 · ≤ 14.3.0
- 12.4
- 14.5
- 8.1.0
- 11.0.2
- 11.1.0
- 11.2.8
- 11.3.0
- 11.3.1
- 8.57
- 8.58
- 8.59
- ≥ 17.12.0 · ≤ 17.12.11
- ≥ 18.8.0 · ≤ 18.8.12
- ≥ 19.12.0 · ≤ 19.12.11
- ≥ 20.12.0 · ≤ 20.12.7
- ≥ 17.7 · ≤ 17.12
- 18.8
- 19.12
- 20.12
- 6.0.0.1.1
- 6.0.0.2.2
- 6.0.0.3.1
- 12.2.1.3.0
- 12.2.1.4.0
- 8.1
Configuration 3
- n/a
- n/a
- n/a
- n/a
No data.
Red Hat Fuse 7.11
apache-commons-compress
Fixed · RHSA-2022:5532
Red Hat Virtualization Engine 4.4
apache-commons-compress-0:1.21-1.2.el8ev
Fixed · RHSA-2022:5555
Red Hat Decision Manager 7
apache-commons-compress
Out of support scope
Red Hat Enterprise Linux 7
apache-commons-compress
Will not fix
Red Hat Enterprise Linux 8
eclipse:rhel8/apache-commons-compress
Will not fix
Red Hat Enterprise Linux 8
javapackages-tools:201801/apache-commons-compress
Will not fix
Red Hat Enterprise Linux 9
apache-commons-compress
Not affected
Red Hat Process Automation 7
apache-commons-compress
Out of support scope
Red Hat Software Collections
rh-maven36-apache-commons-compress
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse 7.11 | apache-commons-compress | Fixed | RHSA-2022:5532 |
| Red Hat Virtualization Engine 4.4 | apache-commons-compress-0:1.21-1.2.el8ev | Fixed | RHSA-2022:5555 |
| Red Hat Decision Manager 7 | apache-commons-compress | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | apache-commons-compress | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | eclipse:rhel8/apache-commons-compress | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | javapackages-tools:201801/apache-commons-compress | Will not fix | n/a |
| Red Hat Enterprise Linux 9 | apache-commons-compress | Not affected | n/a |
| Red Hat Process Automation 7 | apache-commons-compress | Out of support scope | n/a |
| Red Hat Software Collections | rh-maven36-apache-commons-compress | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Vendor solution
Commons Compress users should upgrade to 1.21 or later.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (31 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 12.95% (0.12945) | 96.20th | v5 (v2026.06.15) |
| Jun 15, 2026 | 13.29% (0.13292) | 95.89th | v5 (v2026.06.15) |
| Nov 21, 2025 | 0.28% (0.00279) | 50.94th | v4 (v2025.03.14) |
| Nov 18, 2025 | 16.48% (0.16483) | 94.36th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.29% (0.00287) | 50.09th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.37% (0.01368) | 86.83th | v3 (v2023.03.01) |
| Jun 18, 2024 | 1.17% (0.01170) | 85.03th | v3 (v2023.03.01) |
| Mar 28, 2024 | 0.99% (0.00994) | 83.24th | v3 (v2023.03.01) |
| Feb 17, 2024 | 1.29% (0.01294) | 85.41th | v3 (v2023.03.01) |
| Feb 5, 2024 | 1.26% (0.01259) | 84.19th | v3 (v2023.03.01) |
| Nov 8, 2023 | 1.77% (0.01774) | 86.59th | v3 (v2023.03.01) |
| Jun 12, 2023 | 0.23% (0.00227) | 59.65th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.22% (0.00218) | 57.98th | v3 (v2023.03.01) |
| Mar 6, 2023 | 7.77% (0.07767) | 93.09th | v2 (v2022.01.01) |
| Apr 1, 2022 | 7.77% (0.07767) | 92.44th | v2 (v2022.01.01) |
| Feb 4, 2022 | 44.26% (0.44262) | 97.72th | v2 (v2022.01.01) |
| Feb 3, 2022 | 53.43% (0.53432) | 99.08th | v1 |
| Jan 6, 2022 | 53.43% (0.53432) | 99.07th | v1 |
| Oct 23, 2021 | 20.36% (0.20365) | 97.87th | v1 |
| Oct 21, 2021 | 19.85% (0.19852) | 97.85th | v1 |
| Sep 24, 2021 | 19.33% (0.19331) | 97.81th | v1 |
| Sep 1, 2021 | 18.80% (0.18804) | 97.82th | v1 |
| Aug 12, 2021 | 18.80% (0.18804) | 0.00th | v1 |
| Aug 6, 2021 | 18.27% (0.18271) | 0.00th | v1 |
| Aug 5, 2021 | 17.18% (0.17182) | 0.00th | v1 |
| Aug 4, 2021 | 15.50% (0.15496) | 0.00th | v1 |
| Aug 3, 2021 | 13.74% (0.13741) | 0.00th | v1 |
| Jul 27, 2021 | 9.36% (0.09356) | 0.00th | v1 |
| Jul 17, 2021 | 2.57% (0.02567) | 0.00th | v1 |
| Jul 14, 2021 | 2.31% (0.02314) | 0.00th | v1 |
| Jul 13, 2021 | 1.04% (0.01036) | 0.00th | v1 |
References (64)
- http://www.openwall.com/lists/oss-security/2021/07/13/4 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/07/13/6 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-36090 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1981909 Issue Tracking
- https://commons.apache.org/proper/commons-compress/security-reports.html x_refsource_MISCVendor Advisory
- https://github.com/advisories/GHSA-mc84-pj99-q6hh Advisory
- https://lists.apache.org/thread.html/r0e87177f8e78b4ee453cd4d3d8f4ddec6f10d2c27707dd71e12cafc9%40%3Cannounce.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r0e87177f8e78b4ee453cd4d3d8f4ddec6f10d2c27707dd71e12cafc9@%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r25f4c44616045085bc3cf901bb7e68e445eee53d1966fc08998fc456%40%3Cdev.drill.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r25f4c44616045085bc3cf901bb7e68e445eee53d1966fc08998fc456@%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/r3227b1287e5bd8db6523b862c22676b046ad8f4fc96433225f46a2bd%40%3Cissues.drill.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r3227b1287e5bd8db6523b862c22676b046ad8f4fc96433225f46a2bd@%3Cissues.drill.apache.org%3E
- https://lists.apache.org/thread.html/r4f03c5de923e3f2a8c316248681258125140514ef3307bfe1538e1ab%40%3Cdev.drill.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r4f03c5de923e3f2a8c316248681258125140514ef3307bfe1538e1ab@%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/r54049b66afbca766b6763c7531e9fe7a20293a112bcb65462a134949%40%3Ccommits.drill.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r54049b66afbca766b6763c7531e9fe7a20293a112bcb65462a134949@%3Ccommits.drill.apache.org%3E
- https://lists.apache.org/thread.html/r67ef3c07fe3b8c1b02d48012149d280ad6da8e4cec253b527520fb2b%40%3Cdev.poi.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r67ef3c07fe3b8c1b02d48012149d280ad6da8e4cec253b527520fb2b@%3Cdev.poi.apache.org%3E
- https://lists.apache.org/thread.html/r75ffc7a461e7e7ae77690fa75bd47bb71365c732e0fbcc44da4f8ff5%40%3Cdev.tomcat.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r75ffc7a461e7e7ae77690fa75bd47bb71365c732e0fbcc44da4f8ff5@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9a23d4dbf4e34d498664080bff59f2893b855eb16dae33e4aa92fa53%40%3Cannounce.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r9a23d4dbf4e34d498664080bff59f2893b855eb16dae33e4aa92fa53@%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r9f54c0caa462267e0cc68b49f141e91432b36b23348d18c65bd0d040%40%3Cnotifications.skywalking.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r9f54c0caa462267e0cc68b49f141e91432b36b23348d18c65bd0d040@%3Cnotifications.skywalking.apache.org%3E
- https://lists.apache.org/thread.html/rab292091eadd1ecc63c516e9541a7f241091cf2e652b8185a6059945%40%3Ccommits.druid.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rab292091eadd1ecc63c516e9541a7f241091cf2e652b8185a6059945@%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/racd0c0381c8404f298b226cd9db2eaae965b14c9c568224aa3f437ae%40%3Cnotifications.skywalking.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/racd0c0381c8404f298b226cd9db2eaae965b14c9c568224aa3f437ae@%3Cnotifications.skywalking.apache.org%3E
- https://lists.apache.org/thread.html/rb064d705fdfa44b5dae4c366b369ef6597951083196321773b983e71%40%3Ccommits.pulsar.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rb064d705fdfa44b5dae4c366b369ef6597951083196321773b983e71@%3Ccommits.pulsar.apache.org%3E
- https://lists.apache.org/thread.html/rb5fa2ee61828fa2e42361b58468717e84902dd71c4aea8dc0b865df7%40%3Cnotifications.james.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rb5fa2ee61828fa2e42361b58468717e84902dd71c4aea8dc0b865df7@%3Cnotifications.james.apache.org%3E
- https://lists.apache.org/thread.html/rb6e1fa80d34e5ada45f72655d84bfd90db0ca44ef19236a49198c88c%40%3Cnotifications.skywalking.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rb6e1fa80d34e5ada45f72655d84bfd90db0ca44ef19236a49198c88c@%3Cnotifications.skywalking.apache.org%3E
- https://lists.apache.org/thread.html/rb7adf3e55359819e77230b4586521e5c6874ce5ed93384bdc14d6aee%40%3Cnotifications.skywalking.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rb7adf3e55359819e77230b4586521e5c6874ce5ed93384bdc14d6aee@%3Cnotifications.skywalking.apache.org%3E
- https://lists.apache.org/thread.html/rba65ed5ddb0586f5b12598f55ec7db3633e7b7fede60466367fbf86a%40%3Cnotifications.skywalking.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rba65ed5ddb0586f5b12598f55ec7db3633e7b7fede60466367fbf86a@%3Cnotifications.skywalking.apache.org%3E
- https://lists.apache.org/thread.html/rbbf42642c3e4167788a7c13763d192ee049604d099681f765385d99d%40%3Cdev.drill.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rbbf42642c3e4167788a7c13763d192ee049604d099681f765385d99d@%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/rbe91c512c5385181149ab087b6c909825d34299f5c491c6482a2ed57%40%3Ccommits.druid.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rbe91c512c5385181149ab087b6c909825d34299f5c491c6482a2ed57@%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/rc4134026d7d7b053d4f9f2205531122732405012c8804fd850a9b26f%40%3Cuser.commons.apache.org%3E x_refsource_MISCVendor Advisory
- https://lists.apache.org/thread.html/rc7df4c2f0bbe2028a1498a46d322c91184f7a369e3e4c57d9518cacf%40%3Cdev.drill.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rc7df4c2f0bbe2028a1498a46d322c91184f7a369e3e4c57d9518cacf@%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/rd4332baaf6debd03d60deb7ec93bee49e5fdbe958cb6800dff7fb00e%40%3Cnotifications.skywalking.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rd4332baaf6debd03d60deb7ec93bee49e5fdbe958cb6800dff7fb00e@%3Cnotifications.skywalking.apache.org%3E
- https://lists.apache.org/thread.html/rdd5412a5b9a25aed2a02c3317052d38a97128314d50bc1ed36e81d38%40%3Cuser.ant.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rdd5412a5b9a25aed2a02c3317052d38a97128314d50bc1ed36e81d38@%3Cuser.ant.apache.org%3E
- https://lists.apache.org/thread.html/rf2f4d7940371a7c7c5b679f50e28fc7fcc82cd00670ced87e013ac88%40%3Ccommits.druid.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rf2f4d7940371a7c7c5b679f50e28fc7fcc82cd00670ced87e013ac88@%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/rf3f0a09fee197168a813966c5816157f6c600a47313a0d6813148ea6%40%3Cissues.drill.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rf3f0a09fee197168a813966c5816157f6c600a47313a0d6813148ea6@%3Cissues.drill.apache.org%3E
- https://lists.apache.org/thread.html/rf93b6bb267580e01deb7f3696f7eaca00a290c66189a658cf7230a1a%40%3Cissues.drill.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rf93b6bb267580e01deb7f3696f7eaca00a290c66189a658cf7230a1a@%3Cissues.drill.apache.org%3E
- https://lists.apache.org/thread.html/rfba19167efc785ad3561e7ef29f340d65ac8f0d897aed00e0731e742%40%3Cnotifications.skywalking.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rfba19167efc785ad3561e7ef29f340d65ac8f0d897aed00e0731e742@%3Cnotifications.skywalking.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2021-36090
- https://security.netapp.com/advisory/ntap-20211022-0001/ x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2021-36090
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISCPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISCPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISCPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISCThird Party Advisory
Change history (0)
No recorded changes yet.