CVE-2018-1324 Apache Commons Compress vulnerable to denial of service due to infinite loop

Medium 5.5 Published Updated

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.

PackageAffectedFixed in
com.liferay:com.liferay.portal.tools.bundle.support MavenFrom 3.2.73.7.4
com.liferay:com.liferay.portal.tools.bundle.support MavenFrom 3.2.73.7.4
io.takari:commons-compress MavenAll versionsNone
io.takari:commons-compress MavenAll versionsNone
org.apache.commons:commons-compress MavenFrom 1.111.16
org.apache.commons:commons-compress MavenFrom 1.111.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.

All Oracle Mysql Cluster vulnerabilities

Sources

Also known as CLSA-2026-1785909110, DEBIAN-CVE-2018-1324, GHSA-h436-432x-8fvx, UBUNTU-CVE-2018-1324.

Is CVE-2018-1324 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free