CRITICAL 9.8

CVE-2017-12620

Improper Restriction of XML External Entity Reference in Apache OpenNLP

Description

When loading models or dictionaries that contain XML it is possible to perform an XXE attack, since Apache OpenNLP is a library, this only affects applications that load models or dictionaries from untrusted sources. The versions 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1 of Apache OpenNLP are affected.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.opennlp » opennlp-tools
>= 1.5.0, < 1.8.2
1.8.2

Blast radius

1affected artifacts
10affected versions
1,494dependent artifacts (est.)
28,986dependent versions

60% of the dependent artifacts (910) still pull an affected version in their latest release.

DepthDependent versions
Direct
1,036
2 hops
3,990
3 hops
3,419
4 hops
9,182
5 hops
7,691
6 hops
3,668

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.