SecurityContext

CVE-2017-12620: Apache OpenNLP - XML External Entity Injection

  • Cve: CVE-2017-12620
  • Name: Apache OpenNLP - XML External Entity Injection
  • 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.
  • Impact: Attackers can perform XXE attacks to access sensitive data or cause denial of service when loading untrusted models or dictionaries.
  • Remediation: Update to the latest version of Apache OpenNLP, version 1.8.2 or later.
  • Vulnerability type: xml_external_entity_injection
  • Vulnerability impact: information_disclosure, denial_of_service
  • Requirement type: user_interaction
  • Requirements: Attacker needs to load models or dictionaries from untrusted sources
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.03041
  • Epss percentile: 0.87861
  • Assignee: [email protected]
  • Published at: 2017-10-03T01:29:01Z
  • Age in days: 3339
  • Modified at: 2026-06-17T01:03:38Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12620
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-611Improper Restriction of XML External Entity Reference

Public exploits

UrlSourceAdded date
http://opennlp.apache.org/news/cve-2017-12620.htmlnvd2017-10-03

References

UrlSourceTags
http://opennlp.apache.org/news/cve-2017-12620.htmlnvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
apache:opennlp= 1.8.1, = 1.8.0, = 1.7.2, = 1.7.1, = 1.7.0, = 1.6.0, = 1.5.3, = 1.5.2, = 1.5.1, = 1.5.0nonvd/v1/products/apache/opennlp

Projects

RepositoryLink kindsIndexedUrl
apache/opennlpproductyes/v1/repositories/apache/opennlp

Index

  • Repositories: 4
  • Repositories high signal: 2
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2017-10-03
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts