Skip to content
OpenAdvisories
High · 7.5 CVE-2018-11796 EUVD-2018-0614GHSA-h8q5-g2cj-qr5h

Apache Tika is vulnerable to entity expansions which can lead to a denial of service attack

Published Oct 9, 2018 · Updated Sep 16, 2024 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Tika Apache Tomcat 0.1 to 1.19 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS tika No fix yet —
Ubuntu 16.04 LTS tika No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS tika No fix yet —
Ubuntu Pro 20.04 LTS tika No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tika:tika-core >= 0.1, < 1.19.1 1.19.1 GHSA-h8q5-g2cj-qr5h

References