Resource Allocation Vulnerability in libcommons-compress-java: Apache Commons Compress Affected by Unrestricted Resource Allocation

libcommons-compress-java Updated 02 Oct 2025

Summary

19/02/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-26308: Allocation of Resources Without Limits or Throttling vulnerability in Apache Commons Compress.This issue affects Apache Commons Compress: from 1.21 before 1.26. Affects libcommons-compress-java versions < 1.27.1-1. Fixed in 1.27.1-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libcommons-compress-java is a Java library that provides methods for working with compressed files in various formats. It is widely used in applications that require file compression and decompression functionalities. The library is essential for developers who need to handle compressed data efficiently. However, it has been identified that versions prior to 1.26 are vulnerable to a resource allocation issue, which can lead to potential denial of service or resource exhaustion.

Vulnerability Detail

The vulnerability, identified as DEBIAN-CVE-2024-26308, arises from the allocation of resources without limits or throttling in Apache Commons Compress. This issue affects versions from 1.21 up to 1.26. If exploited, it can lead to excessive resource consumption, potentially causing applications to crash or become unresponsive. The lack of proper controls on resource allocation can allow attackers to exploit the library in a way that depletes system resources, leading to denial of service.

How To Fix

Minimum fixed version

1.27.1-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libcommons-compress-java

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to upgrade to the patched version as soon as it is feasible.

Conclusion

In summary, the vulnerability in libcommons-compress-java poses a significant risk due to unrestricted resource allocation. Users are strongly advised to upgrade to version 1.27.1-1 to protect their applications from potential exploitation. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for libcommons-compress-java →

Share this vulnerability

FAQ

The vulnerability involves the allocation of resources without limits, which can lead to resource exhaustion and denial of service.

Versions from 1.21 up to 1.26 are affected by this vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.

While there are no specific workarounds, it is recommended to prioritize upgrading to the patched version to mitigate risks.

More details can be found in the official Debian CVE database or by visiting the Vulert website.

Related vulnerabilities

Recent vulnerabilities recorded for libcommons-compress-java.

How To Fix

Minimum fixed version

1.27.1-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libcommons-compress-java

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback