Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-12620

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-12620
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:47 UTC · Revision 1

Source evidence

CVE-2017-12620

core-osv · Original source

Published 3 Oct 2017, 01:29 UTC

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.

osv:CVE-2017-12620
Complete source record
{
  "id": "b047c02a1ccee9f098cd8db44e7fae7b18eded0036ed19ed5ba4d6177a1f3912",
  "url": "https://osv.dev/vulnerability/CVE-2017-12620",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-12620",
    "summary": "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.",
    "evidence": "osv:CVE-2017-12620",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-12620",
      "aliases": [
        "CVE-2017-12620",
        "GHSA-h22x-hm8g-rxpg"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/opennlp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "378b77e3494ecfed282807aa6608ee8bf2d1e331"
                },
                {
                  "last_affected": "0afb487dd29489736cfb8ab4a5458fdae9cab474"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:opennlp:1.6.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.6.0"
                      },
                      {
                        "last_affected": "1.6.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:opennlp:1.7.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.7.0"
                      },
                      {
                        "last_affected": "1.7.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:opennlp:1.7.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.7.1"
                      },
                      {
                        "last_affected": "1.7.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:opennlp:1.7.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.7.2"
                      },
                      {
                        "last_affected": "1.7.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:opennlp:1.8.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.8.0"
                      },
                      {
                        "last_affected": "1.8.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:opennlp:1.8.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.8.1"
                      },
                      {
                        "last_affected": "1.8.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.6.0",
            "1.7.0",
            "1.7.1",
            "1.7.2",
            "1.8.0",
            "1.8.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12620.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:44.533204909Z",
      "provider": "osv",
      "references": [],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:apache:opennlp:1.5.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:apache:opennlp:1.5.1:*:*:*:*:*:*:*",
              "cpe:2.3:a:apache:opennlp:1.5.2:*:*:*:*:*:*:*",
              "cpe:2.3:a:apache:opennlp:1.5.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "apache:opennlp",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.5.0"
                  },
                  {
                    "last_affected": "1.5.0"
                  },
                  {
                    "introduced": "1.5.1"
                  },
                  {
                    "last_affected": "1.5.1"
                  },
                  {
                    "introduced": "1.5.2"
                  },
                  {
                    "last_affected": "1.5.2"
                  },
                  {
                    "introduced": "1.5.3"
                  },
                  {
                    "last_affected": "1.5.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-12620",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435912,
  "published_at": "2017-10-03T01:29:01.233+00:00"
}