Red Hat Bugzilla – Bug 1632462
CVE-2018-11761 tika: XML entity expansion vulnerability due to lack of limit configuration
Last modified: 2018-10-04 05:38:31 EDT
In Apache Tika 0.1 to 1.18, the XML parsers were not configured to limit entity expansion. They were therefore vulnerable to an entity expansion vulnerability which can lead to a denial of service attack. References: https://lists.apache.org/thread.html/5553e10bba5604117967466618f219c0cae710075819c70cfb3fb421@%3Cdev.tika.apache.org%3E
Created tika tracking bugs for this issue: Affects: fedora-all [bug 1632463]
Upstream commit: https://github.com/apache/tika/commit/bd9d75d8b0a85af2937047bfad04288c3044b2a6 Note that this commit would only apply cleanly to version 1.17 and later, which added XMLReaderUtils as part of the refactoring of XML parsers: https://github.com/apache/tika/commit/c0c2eafe46224e5c316f2dede395308930a5ec0d A fix for older versions would likely have to set entityExpansionLimit in all places XML parsers are created.