ADVISORIES

GitHub Advisory Database

GHSA-h22x-hm8g-rxpg

Improper Restriction of XML External Entity Reference in Apache OpenNLP

Critical CVE-2017-12620

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.apache.opennlp:opennlp-tools
From 1.5.0 before 1.8.2 (fixed in 1.8.2)

References