VDB
Sign up
MEDIUM6.5

GHSA-4mq5-mj59-qq9c

Allocation of Resources Without Limits or Throttling in Apache Tika

Quick fix

GHSA-4mq5-mj59-qq9c — org.apache.tika:tika-parsers: upgrade to the fixed version with the command below.

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

Details

In Apache Tika 1.19 to 1.21, a carefully crafted 2003ml or 2006ml file could consume all available SAXParsers in the pool and lead to very long hangs. 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-parsers
Introduced in: 1.19Fixed in: 1.22
Fix# pom.xml: bump <version>1.22</version> for org.apache.tika:tika-parsers

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