Skip to content
OpenAdvisories
Medium · 5.5 Public exploit CVE-2018-1324 EUVD-2019-0384GHSA-h436-432x-8fvx

Apache Commons Compress vulnerable to denial of service due to infinite loop

Published Mar 16, 2018 · Updated Sep 17, 2024 · Assigned by apache

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 libcommons-compress-java 1.13-2 —
Debian 13 libcommons-compress-java 1.13-2 —
Debian 12 libcommons-compress-java 1.13-2 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
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