CVE-2018-1324 Apache Commons Compress vulnerable to denial of service due to infinite loop
Attackers can cause a denial of service via infinite loop in Apache Commons Compress by submitting crafted ZIP archives.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-1324?
CVE-2018-1324 is a medium-severity denial of service vulnerability in Oracle Mysql Cluster, published on 16 Mar 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-835
Which versions are affected by CVE-2018-1324?
6 open source packages ship an affected version, including com.liferay:com.liferay.portal.tools.bundle.support, io.takari:commons-compress and org.apache.commons:commons-compress. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
com.liferay:com.liferay.portal.tools.bundle.support Maven | From 3.2.7 | 3.7.4 |
com.liferay:com.liferay.portal.tools.bundle.support Maven | From 3.2.7 | 3.7.4 |
io.takari:commons-compress Maven | All versions | None |
io.takari:commons-compress Maven | All versions | None |
org.apache.commons:commons-compress Maven | From 1.11 | 1.16 |
org.apache.commons:commons-compress Maven | From 1.11 | 1.16 |
Products include Apache Commons Compress, Oracle Mysql Cluster, Oracle Weblogic Server.
How do I fix CVE-2018-1324?
Upgrade com.liferay:com.liferay.portal.tools.bundle.support to 3.7.4 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2018-1324 being exploited?
There is no known exploitation of CVE-2018-1324 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Oracle Mysql Cluster
- CVE-2024-25710 Apache Commons Compress: Denial of service caused by an infinite loop for a corrupted DUMP file
- CVE-2021-35515 Apache Commons Compress 1.6 to 1.20 denial of service vulnerability
- CVE-2021-35516 Apache Commons Compress 1.6 to 1.20 denial of service vulnerability
- CVE-2021-35517 Apache Commons Compress 1.1 to 1.20 denial of service vulnerability
- CVE-2021-36090 Apache Commons Compress 1.0 to 1.20 denial of service vulnerability
Sources
Also known as CLSA-2026-1785909110, DEBIAN-CVE-2018-1324, GHSA-h436-432x-8fvx, UBUNTU-CVE-2018-1324.