VDB
Sign up
HIGH7.8

GHSA-4xr4-4c65-hj7f

Apache Tika does not properly initialize the XML parser or choose handlers

Quick fix

GHSA-4xr4-4c65-hj7f — org.apache.tika:tika-core: upgrade to the fixed version with the command below.

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

Details

Apache Tika before 1.13 does not properly initialize the XML parser or choose handlers, which might allow remote attackers to conduct XML External Entity (XXE) attacks via vectors involving (1) spreadsheets in OOXML files and (2) XMP metadata in PDF and other file formats, a related issue to CVE-2016-2175.

Are you affected?

Enter the version of the package you're using.

Affected packages

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