XXE in Apache Tika
CVE-2018-11796
In Apache Tika 1.19 (CVE-2018-11761), we added an entity expansion limit for XML parsing. However, Tika reuses SAXParsers and calls reset() after each parse, which, for Xerces2 parsers, as per the documentation, removes the user-specified SecurityManager and thus removes entity expansion limits after the first parse. Apache Tika versions from 0.1 to 1.19 are therefore still vulnerable to entity expansions which can lead to a denial of service attack. Users should upgrade to 1.19.1 or later.
Vulnerability class: XXE (XML External Entity)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.075 (94.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 94.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.069 · newest: 0.075 · change: +0.007
Affected products
- Apache Tika
- Apache Software Foundation Tika — versions Apache Tomcat 0.1 to 1.19
Weakness classification (CWE)
References
- www.securityfocus.com/bid/105585 (VDB Entry, Third Party Advisory, vdb-entry)
- lists.apache.org/thread.html/88de8350cda9b184888ec294c813c5bd8a2081de8fd3666f89…
- security.netapp.com/advisory/ntap-20190903-0002/
- access.redhat.com/errata/RHSA-2019:3892 (vendor-advisory)
Frequently asked questions
- What is CVE-2018-11796?
- CVE-2018-11796 is a high-severity vulnerability in Apache Tika, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 7.5/10. Published 2018-10-09.
- How severe is CVE-2018-11796?
- High severity. CVSS v3 base score is 7.5 out of 10.