MEDIUM6.5
GHSA-3448-vfvv-xp9g
Apache Tika Denial of Service due to Infinite Loop in Tika's SQLite3Parser
Quick fix
GHSA-3448-vfvv-xp9g — org.apache.tika:tika-parsers: upgrade to the fixed version with the command below.
# pom.xml: bump <version>1.20</version> for org.apache.tika:tika-parsersDetails
A carefully crafted or corrupt sqlite file can cause an infinite loop in Apache Tika's SQLite3Parser in versions 1.8-1.19.1 of Apache Tika.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.tika:tika-parsers
Introduced in:
1.8Fixed in: 1.20Fix
# pom.xml: bump <version>1.20</version> for org.apache.tika:tika-parsersReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-17197[ADVISORY]
- https://github.com/advisories/GHSA-3448-vfvv-xp9g[ADVISORY]
- https://lists.apache.org/thread.html/7c021a4ea2037e52e74628e17e8e0e2acab1f447160edc8be0eae6d3@%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/technetwork/security-advisory/cpujul2019-5072835.html[WEB]
- http://www.securityfocus.com/bid/106293[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"]}'