Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tika/tika-core
  4. ›
  5. CVE-2018-11796

CVE-2018-11796: Improper Restriction of XML External Entity Reference

October 17, 2018 (updated September 14, 2021)

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.

References

  • www.securityfocus.com/bid/105585
  • access.redhat.com/errata/RHSA-2019:3892
  • github.com/advisories/GHSA-h8q5-g2cj-qr5h
  • lists.apache.org/thread.html/88de8350cda9b184888ec294c813c5bd8a2081de8fd3666f8904bc05@%3Cdev.tika.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2018-11796
  • security.netapp.com/advisory/ntap-20190903-0002/

Code Behaviors & Features

Detect and mitigate CVE-2018-11796 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.1 before 1.19.1

Fixed versions

  • 1.19.1

Solution

Upgrade to version 1.19.1 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/org.apache.tika/tika-core/CVE-2018-11796.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:09 +0000.