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

Advisory record · `GHSA-h436-432x-8fvx`

- **Identifiers:** `GHSA-h436-432x-8fvx` · `CVE-2018-1324`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-835](https://cwe.mitre.org/data/definitions/835.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 14 Mar 2019
- **Updated:** 27 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 14 Mar 2019, 15:41 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.commons:commons-compress` (Maven): affected `>=1.11, <1.16`; fixed in `1.16`
- `com.liferay:com.liferay.portal.tools.bundle.support` (Maven): affected `>=3.2.7, <3.7.4`; fixed in `3.7.4`
- `io.takari:commons-compress` (Maven): affected `=1.12`; no fixed version yet

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.5 Medium, CVSS 3.0: `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.037, the 89th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 14 Mar 2019. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-h436-432x-8fvx](https://github.com/advisories/GHSA-h436-432x-8fvx)
- [OSV: GHSA-h436-432x-8fvx](https://osv.dev/vulnerability/GHSA-h436-432x-8fvx)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1324>
- <https://github.com/apache/commons-compress/commit/2a2f1dc48e22a34ddb72321a4db211da91aa933b>
- <https://arxiv.org/pdf/2306.05534.pdf>
- <https://github.com/advisories/GHSA-h436-432x-8fvx>
- <https://github.com/apache/commons-compress>
- <https://github.com/jensdietrich/xshady-release/tree/main/CVE-2018-1324>
- <https://lists.apache.org/thread.html/1c7b6df6d1c5c8583518a0afa017782924918e4d6acfaf23ed5b2089@%3Cdev.commons.apache.org%3E>
- <https://lists.apache.org/thread.html/b8ef29df0f1d55aa741170748352ae8e425c7b1d286b2f257711a2dd@%3Cdev.creadur.apache.org%3E>
- <https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E>
- <https://lists.apache.org/thread.html/r5532dc8d5456b5151e8c286801e2e5769f5c04118b29c3b5d13ea387@%3Cissues.beam.apache.org%3E>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-h436-432x-8fvx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-h436-432x-8fvx/>. Everything for agents: <https://agentprime.io/llms.txt>.
