CVE-2022-0198

Source
https://cve.org/CVERecord?id=CVE-2022-0198
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0198.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-0198
Aliases
Published
2022-01-13T06:45:10Z
Modified
2026-04-11T23:37:22.673092Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Improper Restriction of XML External Entity Reference in stanfordnlp/corenlp
Details

corenlp is vulnerable to Improper Restriction of XML External Entity Reference

Database specific
{
    "cna_assigner": "@huntrdev",
    "cwe_ids": [
        "CWE-611"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0198.json"
}
References

Affected packages

Git / github.com/stanfordnlp/corenlp

Affected ranges

Type
GIT
Repo
https://github.com/stanfordnlp/corenlp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.3.2"
        }
    ]
}

Affected versions

v1.*
v1.3.5
v1.3.6
v3.*
v3.3.0
v3.3.1
v3.4.0
v3.4.1
v3.5.0
v3.5.1
v3.5.2
v3.6.0
v3.7.0
v3.8.0
v3.9.1
v3.9.2
v3.9.2b
v4.*
v4.1.0
v4.2.0
v4.2.2
v4.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0198.json"
vanir_signatures_modified
"2026-04-11T23:37:22Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/stanfordnlp/corenlp/commit/1f52136321cfca68b991bd7870563d06cf96624d",
        "digest": {
            "function_hash": "276455462904976465560872810997262471792",
            "length": 196.0
        },
        "id": "CVE-2022-0198-1ff6ac65",
        "deprecated": false,
        "target": {
            "file": "src/edu/stanford/nlp/process/TransformXML.java",
            "function": "TransformXML"
        }
    },
    {
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/stanfordnlp/corenlp/commit/1f52136321cfca68b991bd7870563d06cf96624d",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "316583942280262142754500723426845022305",
                "293989149656284129014447494148879553004",
                "20044479163562426312692816707892208694",
                "135347285437398752314993341466461008076",
                "164598680801751516149266945297445963479",
                "30261192830806417561700299750085024917",
                "47143790266276717921190740454014496385"
            ]
        },
        "id": "CVE-2022-0198-453cc708",
        "deprecated": false,
        "target": {
            "file": "src/edu/stanford/nlp/process/TransformXML.java"
        }
    }
]