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-coreDetails
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.22Fix
# pom.xml: bump <version>1.22</version> for org.apache.tika:tika-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2019-10094[ADVISORY]
- https://lists.apache.org/thread.html/39723d8227b248781898c200aa24b154683673287b150a204b83787d@%3Cdev.tika.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/da9ee189d1756f8508d0f2386d8e25aca5a6df541739829232be8a94@%3Cdev.tika.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/fb6c84fd387de997e5e366d50b0ca331a328c466432c80f8c5eed33d@%3Cdev.tika.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/fe876a649d9d36525dd097fe87ff4dcb3b82bb0fbb3a3d71fb72ef61@%3Cdev.tika.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@%3Csolr-user.lucene.apache.org%3E[WEB]
- https://www.oracle.com/security-alerts/cpuapr2020.html[WEB]
- https://www.oracle.com/security-alerts/cpujan2020.html[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"]}'