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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | tika | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | tika | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | tika | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | tika | Fix pending | UBUNTU-CVE-2018-11796 | |
| Ubuntu 20.04 | tika | Fix pending | UBUNTU-CVE-2018-11796 | |
| Ubuntu 18.04 | tika | Fix pending | UBUNTU-CVE-2018-11796 | |
| Ubuntu 16.04 | tika | Fix pending | UBUNTU-CVE-2018-11796 | |
| Maven library | org.apache.tika:tika-core | Fixed | 1.19.1 | GHSA-h8q5-g2cj-qr5h |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Tika: affected: Apache Tomcat 0.1 to 1.19
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2019:3892 (vendor-advisory)
References
- http://www.securityfocus.com/bid/105585
- https://lists.apache.org/thread.html/88de8350cda9b184888ec294c813c5bd8a2081de8fd3666f8904bc05%40%3Cdev.tika.apache.org%3E
- https://security.netapp.com/advisory/ntap-20190903-0002/
- https://access.redhat.com/errata/RHSA-2019:3892
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.