CVE-2018-11796

tika: Incomplete fix allows for XML entity expansion resulting in denial of service

Published Oct 9, 2018 CVSS 3.0 · 7.5 High EPSS 7.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-0614 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.
Github GHSA Github GHSA GHSA-h8q5-g2cj-qr5h Apache Tika is vulnerable to entity expansions which can lead to a denial of service attack
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Sep 16, 2024, 6:19 PM
Reserved
Jun 5, 2018, 12:00 AM
Status
Modified
Published
Oct 9, 2018, 10:29 PM
Modified
Jun 17, 2026, 1:36 AM
Severity
Moderate
Public date
Oct 10, 2018, 12:00 AM