Skip to content
OpenAdvisories
Critical · 9.8 CVE-2017-12620 EUVD-2022-4039GHSA-h22x-hm8g-rxpg

Improper Restriction of XML External Entity Reference in Apache OpenNLP

Published Oct 2, 2017 · Updated Sep 16, 2024 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache OpenNLP 1.5.0 to 1.5.3, 1.6.0, 1.7.0 to 1.7.2, 1.8.0 to 1.8.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed opennlp 1.9.5-1.1 openSUSE-SU-2026:11281-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.opennlp:opennlp-tools >= 1.5.0, < 1.8.2 1.8.2 GHSA-h22x-hm8g-rxpg

Advisories 1

References