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-parsersDetails
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.22Fix
# pom.xml: bump <version>1.22</version> for org.apache.tika:tika-parsersReferences
- https://nvd.nist.gov/vuln/detail/CVE-2019-10093[ADVISORY]
- https://lists.apache.org/thread.html/39723d8227b248781898c200aa24b154683673287b150a204b83787d@%3Cdev.tika.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/a5a44eff1b9eda3bc69d22943a1030c43d376380c75d3ab04d0c1a21@%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/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@%3Csolr-user.lucene.apache.org%3E[WEB]
- https://security.netapp.com/advisory/ntap-20190828-0004[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-parsers"]}'