CVE-2018-11796
Apache Tika is vulnerable to entity expansions which can lead to a denial of service attack
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.tika » tika-core | >= 0.1, < 1.19.1 | 1.19.1 |
Blast radius
53% of the dependent artifacts (2,649) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 12,241 |
| 2 hops | 50,156 |
| 3 hops | 52,288 |
| 4 hops | 25,944 |
| 5 hops | 9,491 |
| 6 hops | 2,538 |
Most used dependents
- org.apache.tika » tika-parsers480 usages
- info.magnolia » magnolia-core462 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.apache.jackrabbit » jackrabbit-core323 usages
- ddf.catalog.core » catalog-core-api242 usages
- ddf.catalog.core » catalog-core-api-impl239 usages
- org.apache.tika » tika-parsers-standard-package178 usages
- io.qameta.allure » allure-java-commons170 usages
- io.qameta.allure » allure-junit5162 usages
- org.apache.sling » org.apache.sling.commons.testing143 usages
- ddf.security.core » security-core-api142 usages
- org.onehippo.cms7 » hippo-repository-connector139 usages
- io.qameta.allure » allure-junit4135 usages
- org.opencms » opencms-core134 usages
- info.magnolia.ui » magnolia-ui-framework130 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-11796 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-h8q5-g2cj-qr5h | github.com |
| Package | apache/tika | github.com |
| Web | errata/RHSA-2019:3892 | access.redhat.com |
| Web | thread.html/88de8350cda9b184888ec294c813c5bd8a2081de8fd3666f8904bc05@<dev.tika.apache.org> | lists.apache.org |
| Web | advisory/ntap-20190903-0002 | security.netapp.com |
| Web | bid/105585 | securityfocus.com |
