CVE-2022-0239

Source
https://cve.org/CVERecord?id=CVE-2022-0239
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0239.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-0239
Aliases
Published
2022-01-17T06:15:11Z
Modified
2026-04-11T23:37:34.372388Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/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-0239.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-0239.json"
vanir_signatures_modified
"2026-04-11T23:37:34Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/stanfordnlp/corenlp/commit/1940ffb938dc4f3f5bc5f2a2fd8b35aabbbae3dd",
        "digest": {
            "function_hash": "100764702940495631814522020455600243301",
            "length": 831.0
        },
        "id": "CVE-2022-0239-8437e4b5",
        "deprecated": false,
        "target": {
            "file": "src/edu/stanford/nlp/util/XMLUtils.java",
            "function": "getValidatingXmlParser"
        }
    },
    {
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/stanfordnlp/corenlp/commit/1940ffb938dc4f3f5bc5f2a2fd8b35aabbbae3dd",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "238565169868112149853538462787840540943",
                "218625043191496645806240340423629875787",
                "79570439888172606774987602873821909791",
                "241063994109605614212165091553513739617"
            ]
        },
        "id": "CVE-2022-0239-a980c3ad",
        "deprecated": false,
        "target": {
            "file": "src/edu/stanford/nlp/util/XMLUtils.java"
        }
    }
]