GitHub Advisoryadvisory · Maven
GHSA-h436-432x-8fvx Apache Commons Compress vulnerable to denial of service due to infinite loop
MEDIUM
Official page ↗
- Aliases
- CVE-2018-1324
- Ecosystem
- Maven
- Packages
- org.apache.commons:commons-compress, com.liferay:com.liferay.portal.tools.bundle.support, io.takari:commons-compress
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-835
- Reviewed
- 2020-06-16
Affected packages
• Maven org.apache.commons:commons-compress: >= 1.11, < 1.16 → fixed in 1.16
• Maven com.liferay:com.liferay.portal.tools.bundle.support: >= 3.2.7, < 3.7.4 → fixed in 3.7.4
• Maven io.takari:commons-compress: 1.12 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2018-1324 A specially crafted ZIP archive can be used to cause an infinite loop inside of Apache Commons Compress' extra field parser used by the… vulnerability
Weakness · CWE (1)
- CWE-835 Loop with Unreachable Exit Condition weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1324 advisory
- https://github.com/apache/commons-compress/commit/2a2f1dc48e22a34ddb72321a4db211da91aa933b web
- https://arxiv.org/pdf/2306.05534.pdf web
- https://github.com/advisories/GHSA-h436-432x-8fvx advisory
- https://github.com/apache/commons-compress package
- https://github.com/jensdietrich/xshady-release/tree/main/CVE-2018-1324 web
- https://lists.apache.org/thread.html/1c7b6df6d1c5c8583518a0afa017782924918e4d6acfaf23ed5b2089@%3Cdev.commons.apache.org%3E web
- https://lists.apache.org/thread.html/b8ef29df0f1d55aa741170748352ae8e425c7b1d286b2f257711a2dd@%3Cdev.creadur.apache.org%3E web
- https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E web
- https://lists.apache.org/thread.html/r5532dc8d5456b5151e8c286801e2e5769f5c04118b29c3b5d13ea387@%3Cissues.beam.apache.org%3E web