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

Source: https://junglewise.ai/threats/cve-2018-1324-apache-commons-compress-vulnerable-to-denial-of-service-due-to  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-03-14  
License: CC BY 4.0 with a link back

CVE-2018-1324 · Severity: low · CVSS 3 · Published 2019-03-14

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

Technologies: [org.apache.commons:commons-compress (Maven)](https://junglewise.ai/threats/technologies/org-apache-commons-commons-compress). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2018-1324 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-1324 being exploited in the wild.

**How severe is CVE-2018-1324?** Low severity, with a CVSS score of 3, published 14 March 2019.

**Which products and versions are affected?** com.liferay:com.liferay.portal.tools.bundle.support (Maven) ECOSYSTEM:introduced=3.2.7,fixed=3.7.4; org.apache.commons:commons-compress (Maven) ECOSYSTEM:introduced=1.11,fixed=1.16.

**Is there a fix for CVE-2018-1324?** Yes. com.liferay:com.liferay.portal.tools.bundle.support (Maven): upgrade to 3.7.4 or later; org.apache.commons:commons-compress (Maven): upgrade to 1.16 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-1324?** Check whether you run com.liferay:com.liferay.portal.tools.bundle.support (Maven), io.takari:commons-compress (Maven) or org.apache.commons:commons-compress (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- com.liferay:com.liferay.portal.tools.bundle.support (Maven): upgrade to 3.7.4 or later

  ```sh
  # set com.liferay:com.liferay.portal.tools.bundle.support to 3.7.4 in your pom.xml or build.gradle
  ```

- org.apache.commons:commons-compress (Maven): upgrade to 1.16 or later

  ```sh
  # set org.apache.commons:commons-compress to 1.16 in your pom.xml or build.gradle
  ```


## Affected products

- com.liferay:com.liferay.portal.tools.bundle.support (Maven) ECOSYSTEM:introduced=3.2.7,fixed=3.7.4
- io.takari:commons-compress (Maven)
- org.apache.commons:commons-compress (Maven) ECOSYSTEM:introduced=1.11,fixed=1.16

## Identifiers

- CVE-2018-1324
- GHSA-h436-432x-8fvx

## Related threats

- [Apache Commons Compress: OutOfMemoryError unpacking broken Pack200 file](https://junglewise.ai/threats/cve-2024-26308-apache-commons-compress-outofmemoryerror-unpacking-broken-pack200)
- [Apache Commons Compress: Denial of service caused by an infinite loop for a corrupted DUMP file](https://junglewise.ai/threats/cve-2024-25710-apache-commons-compress-denial-of-service-caused-by-an-infinite)
- [Apache Commons Compress denial of service vulnerability](https://junglewise.ai/threats/cve-2023-42503-apache-commons-compress-denial-of-service-vulnerability)
- [Uncontrolled Resource Consumption in Apache Commons Compress](https://junglewise.ai/threats/cve-2012-2098-uncontrolled-resource-consumption-in-apache-commons-compress)
- [Improper Handling of Length Parameter Inconsistency in Compress](https://junglewise.ai/threats/cve-2021-36090-improper-handling-of-length-parameter-inconsistency-in-compress)
