Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.opennlp/opennlp
  4. ›
  5. CVE-2017-12620

CVE-2017-12620: Improper Restriction of XML External Entity Reference

October 3, 2017 (updated November 2, 2017)

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.

References

  • opennlp.apache.org/news/cve-2017-12620.html
  • nvd.nist.gov/vuln/detail/CVE-2017-12620

Code Behaviors & Features

Detect and mitigate CVE-2017-12620 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.5.0 up to 1.5.3, all versions starting from 1.6.0 up to 1.7.2, all versions starting from 1.8.0 up to 1.8.1

Fixed versions

  • 1.8.2

Solution

Upgrade to version 1.8.2 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/org.apache.opennlp/opennlp/CVE-2017-12620.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.