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-coreDetails
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.13Fix
# pom.xml: bump <version>1.13</version> for org.apache.tika:tika-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2016-4434[ADVISORY]
- https://github.com/advisories/GHSA-4xr4-4c65-hj7f[ADVISORY]
- https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E[WEB]
- https://mail-archives.apache.org/mod_mbox/tika-dev/201605.mbox/%3C1705136517.1175366.1464278135251.JavaMail.yahoo%40mail.yahoo.com%3E[WEB]
- http://rhn.redhat.com/errata/RHSA-2017-0248.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2017-0249.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2017-0272.html[WEB]
- http://www.securityfocus.com/archive/1/538500/100/0/threaded[WEB]
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"]}'