VDB
Sign up
MEDIUM5.9

GHSA-w6g3-v46q-5p28

Moderate severity vulnerability that affects org.apache.tika:tika-core

Quick fix

GHSA-w6g3-v46q-5p28 — org.apache.tika:tika-core: upgrade to the fixed version with the command below.

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

Details

In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (--extract-dir=) and the input file has an embedded file with an absolute path, such as "C:/evil.bat", tika-app would overwrite that file.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tika:tika-core
Introduced in: 0.9Fixed in: 1.19
Fix# pom.xml: bump <version>1.19</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"]}'