VDB
Sign up
HIGH7.5

GHSA-53x6-4x5p-rrvv

Denial of Service in Apache Commons Compress

Quick fix

GHSA-53x6-4x5p-rrvv — org.apache.commons:commons-compress: upgrade to the fixed version with the command below.

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

Details

The file name encoding algorithm used internally in Apache Commons Compress 1.15 to 1.18 can get into an infinite loop when faced with specially crafted inputs. This can lead to a denial of service attack if an attacker can choose the file names inside of an archive created by Compress.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.commons:commons-compress
Introduced in: 1.15Fixed in: 1.19
Fix# pom.xml: bump <version>1.19</version> for org.apache.commons:commons-compress
Maven/io.github.1tchy.java9modular.org.apache.commons:commons-compress

No fixed version published yet for io.github.1tchy.java9modular.org.apache.commons:commons-compress (maven). Pin to a known-safe version or switch to an alternative.

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"]}'