# CVE-2023-42503: Apache Commons Compress denial of service vulnerability

Source: https://junglewise.ai/threats/cve-2023-42503-apache-commons-compress-denial-of-service-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-09-14  
License: CC BY 4.0 with a link back

CVE-2023-42503 · Severity: low · CVSS 3.1 · Published 2023-09-14

Apache Commons Compress denial of service vulnerability

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-2023-42503 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-42503 being exploited in the wild.

**How severe is CVE-2023-42503?** Low severity, with a CVSS score of 3.1, published 14 September 2023.

**Which products and versions are affected?** org.apache.commons:commons-compress (Maven) ECOSYSTEM:introduced=1.22,fixed=1.24.0.

**Is there a fix for CVE-2023-42503?** Yes. org.apache.commons:commons-compress (Maven): upgrade to 1.24.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-42503?** Check whether you run 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

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

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


## Affected products

- org.apache.commons:commons-compress (Maven) ECOSYSTEM:introduced=1.22,fixed=1.24.0

## Identifiers

- CVE-2023-42503
- GHSA-cgwf-w82q-5jrr

## 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)
- [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)
- [Improper Handling of Length Parameter Inconsistency in Compress](https://junglewise.ai/threats/cve-2021-35517-improper-handling-of-length-parameter-inconsistency-in-compress)
