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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Commons Compress | 1.11 to 1.15 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libcommons-compress-java | 1.13-2 | — |
| Debian 13 | libcommons-compress-java | 1.13-2 | — |
| Debian 12 | libcommons-compress-java | 1.13-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libcommons-compress-java | No fix yet | — |
| Ubuntu 26.04 LTS | libcommons-compress-java | No fix yet | — |
| Ubuntu 25.10 | libcommons-compress-java | No fix yet | — |
| Ubuntu 24.04 LTS | libcommons-compress-java | No fix yet | — |
| Ubuntu 22.04 LTS | libcommons-compress-java | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libcommons-compress-java | No fix yet | — |
| Ubuntu 16.04 LTS | libcommons-compress-java | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
tafamace/CVE-2018-1324 ★ 0 · Nov 19, 2018
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.liferay:com.liferay.portal.tools.bundle.support | >= 3.2.7, < 3.7.4 | 3.7.4 | GHSA-h436-432x-8fvx |
| Maven | io.takari:commons-compress | 1.12 | — | GHSA-h436-432x-8fvx |
| Maven | org.apache.commons:commons-compress | >= 1.11, < 1.16 | 1.16 | GHSA-h436-432x-8fvx |
References
- 1040549 vdb-entry
- [dev] 20180316 [CVE-2018-1324] Apache Commons Compress denial of service vulnerability mailing-list
- 103490 vdb-entry
- [pulsar-commits] 20190416 [GitHub] [pulsar] one70six opened a new issue #4057: Security Vulnerabilities - Black Duck Scan - Pulsar v.2.3.1 mailing-list
- [creadur-dev] 20190530 [Discuss] RAT-244 - update to language level 1.7 due to CVE issues in RAT mailing-list
- [beam-issues] 20200421 [jira] [Closed] (BEAM-3873) Current version of commons-compress is DOS vulnerable CVE-2018-1324 mailing-list
- https://www.oracle.com/security-alerts/cpujan2022.html