VDB
Sign up
HIGH7.8

GHSA-mm7m-xg4h-6m52

Allocation of Resources Without Limits or Throttling in Apache Tika

Quick fix

GHSA-mm7m-xg4h-6m52 — org.apache.tika:tika-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>1.22</version> for org.apache.tika:tika-core

Details

A carefully crafted package/compressed file that, when unzipped/uncompressed yields the same file (a quine), causes a StackOverflowError in Apache Tika's RecursiveParserWrapper in versions 1.7-1.21. Apache Tika users should upgrade to 1.22 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tika:tika-core
Introduced in: 1.7Fixed in: 1.22
Fix# pom.xml: bump <version>1.22</version> for org.apache.tika:tika-core

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.tika/tika-core"]}'