Apache Commons Compress vulnerable to denial of service due to infinite loop
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.liferay:com.liferay.portal.tools.bundle.support | >= 3.2.7, < 3.7.4 | 3.7.4 |
| Java / Kotlin (Maven) | io.takari:commons-compress | = 1.12 | no fix |
| Java / Kotlin (Maven) | org.apache.commons:commons-compress | >= 1.11, < 1.16 | 1.16 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1324
- https://github.com/apache/commons-compress/commit/2a2f1dc48e22a34ddb72321a4db211da91aa933b
- https://arxiv.org/pdf/2306.05534.pdf
- https://github.com/advisories/GHSA-h436-432x-8fvx
- https://github.com/apache/commons-compress
- https://github.com/jensdietrich/xshady-release/tree/main/CVE-2018-1324
- https://lists.apache.org/thread.html/1c7b6df6d1c5c8583518a0afa017782924918e4d6acfaf23ed5b2089@%3Cdev.commons.apache.org%3E
- https://lists.apache.org/thread.html/b8ef29df0f1d55aa741170748352ae8e425c7b1d286b2f257711a2dd@%3Cdev.creadur.apache.org%3E
- https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E
- https://lists.apache.org/thread.html/r5532dc8d5456b5151e8c286801e2e5769f5c04118b29c3b5d13ea387@%3Cissues.beam.apache.org%3E
- CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-835- Platform
- Java / Kotlin (Maven)
- Package
com.liferay:com.liferay.portal.tools.bundle.support, io.takari:commons-compress, org.apache.commons:commons-compress- Disclosed
- 14.03.2019
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-h436-432x-8fvx - CC BY 4.0
Vulnerability history: com.liferay:com.liferay.portal.tools.bundle.support
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.