CVE-2018-1324 json
Apache Commons Compress vulnerable to denial of service due to infinite loop
published 8y ago modified 4mo ago also GHSA-h436-432x-8fvx , EUVD-2019-0384
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the ZipFile and ZipArchiveInputStream classes in versions 1.11 to 1.15. This can be used to mount a denial of service attack against services that use Compress' zip package.
Patch / fix
- maven org.apache.commons:commons-compress 1.16
- maven com.liferay:com.liferay.portal.tools.bundle.support 3.7.4
- libcommons-compress-java Debian 14, Debian 13, Debian 12 1.13-2
debian advisories DEBIAN-CVE-2018-1324
Is CVE-2018-1324 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1324 updated cvss 7.5
apache-commons-compress: Infinite loop via extra field parser in ZipFile and ZipArchiveInputStream classes
-
Red Hat JBoss Data Virtualization 6 commons-compress commons-compress Red Hat OpenStack Platform 8 (Liberty) opendaylight Red Hat OpenStack Platform 9 (Mitaka) opendaylight Red Hat Software Collections rh-maven35-apache-commons-compress, rh-maven35-apache-commons-compress-javadocaffected: no fix planned “Will not fix”
-
Red Hat JBoss Developer Studio 11 commons-compress commons-compress Red Hat BPM Suite 6 commons-compress commons-compress Red Hat Enterprise Linux 7 apache-commons-compress, apache-commons-compress-javadoc Red Hat Enterprise Linux 8 apache-commons-compress, apache-commons-compress-javadoc Red Hat JBoss BRMS 5 commons-compress commons-compress Red Hat JBoss BRMS 6 commons-compress commons-compressnot affected: vulnerable code not present
+8 more productsfewer
Red Hat JBoss Fuse 6 commons-compress commons-compress Red Hat JBoss Fuse Service Works 6 commons-compress commons-compress Red Hat Mobile Application Platform 4 commons-compress Red Hat OpenShift Application Runtimes commons-compress commons-compress Red Hat Satellite 6 commons-compress Red Hat Software Collections rh-java-common-apache-commons-compress, rh-java-common-apache-commons-compress-javadoc Red Hat Storage 3 commons-compress Red Hat Virtualization 4 apache-commons-compress, apache-commons-compress-javadoc
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.66% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| GitHub | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.commons:commons-compress | >=1.11, <1.16 |
1.16 |
| maven | com.liferay:com.liferay.portal.tools.bundle.support | >=3.2.7, <3.7.4 |
3.7.4 |
| maven | io.takari:commons-compress | 1 listed version |
no fix listed |
Affected products
- Apache Software Foundation Apache Commons Compress
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
oracle.com
/security-alerts/cpujan2022.html
patch, third-party-advisory
-
github.com
/apache/commons-compress/commit/2a2f1dc48e22a34ddb72321a4db211da91aa933b
web
-
securitytracker.com
/id/1040549
vdb-entry, third-party-advisory
-
lists.apache.org
/thread.html/1c7b6df6d1c5c8583518a0afa017782924918e4d6acfaf23ed5b2089%40%3Cdev.commons.apache.org%3E
mailing-list
-
securityfocus.com
/bid/103490
vdb-entry, third-party-advisory
-
lists.apache.org
/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/b8ef29df0f1d55aa741170748352ae8e425c7b1d286b2f257711a2dd%40%3Cdev.creadur.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r5532dc8d5456b5151e8c286801e2e5769f5c04118b29c3b5d13ea387%40%3Cissues.beam.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2018-1324
advisory
-
arxiv.org
/pdf/2306.05534.pdf
web
-
github.com
/advisories/GHSA-h436-432x-8fvx
advisory
-
github.com
/apache/commons-compress
package
-
github.com
/jensdietrich/xshady-release/tree/main/CVE-2018-1324
web
-
lists.apache.org
/thread.html/1c7b6df6d1c5c8583518a0afa017782924918e4d6acfaf23ed5b2089@%3Cdev.commons.apache.org%3E
web
-
lists.apache.org
/thread.html/b8ef29df0f1d55aa741170748352ae8e425c7b1d286b2f257711a2dd@%3Cdev.creadur.apache.org%3E
web
-
lists.apache.org
/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E
web
-
lists.apache.org
/thread.html/r5532dc8d5456b5151e8c286801e2e5769f5c04118b29c3b5d13ea387@%3Cissues.beam.apache.org%3E
web
Sources
- CVE List CVE-2018-1324
- GitHub Advisory GHSA-h436-432x-8fvx
- NVD CVE-2018-1324
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.