HIGH 7.5

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)

ArtifactAffected versionsFixed in
org.apache.tika » tika-core
>= 0.1, < 1.19.1
1.19.1

Blast radius

1affected artifacts
49affected versions
4,922dependent artifacts (est.)
152,658dependent versions

53% of the dependent artifacts (2,649) still pull an affected version in their latest release.

DepthDependent 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

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

Advisorynvd.nist.gov
Advisorygithub.com
Packagegithub.com
Webaccess.redhat.com
Weblists.apache.org
Websecurity.netapp.com
Websecurityfocus.com