VDB
Sign up
HIGH7.5

GHSA-xqfj-vm6h-2x34

Improper Handling of Length Parameter Inconsistency in Compress

Quick fix

GHSA-xqfj-vm6h-2x34 — org.apache.commons:commons-compress: upgrade to the fixed version with the command below.

# pom.xml: bump <version>1.21</version> for org.apache.commons:commons-compress

Details

When reading a specially crafted TAR archive, Compress can be made to allocate large amounts of memory that finally leads to an out of memory error even for very small inputs. This could be used to mount a denial of service attack against services that use Compress' tar package.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.commons:commons-compress
Introduced in: 0Fixed in: 1.21
Fix# pom.xml: bump <version>1.21</version> for org.apache.commons:commons-compress

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:maven/org.apache.commons/commons-compress"]}'