WaratekVRT Sign in

CVE-2022-0198 corenlp

Affected softwarecorenlp
Severity7.1 High CVSS 3.1 3 scores
WeaknessXML external entity (XXE) (CWE-611)
Published13 Jan 2022
Updated17 Jun 2026

Description

corenlp is vulnerable to Improper Restriction of XML External Entity Reference

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.76% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.
Candidate fix https://github.com/stanfordnlp/corenlp/commit/1f52136321cfca68b991bd7870563d06cf96624d : a commit: the change itself

How to mitigate CVE-2022-0198

Apply the vendor's fix for corenlp. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.1 HIGH v3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.1 HIGH CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N NVD Primary published
CVSS 3.0 6.1 MEDIUM CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N security@huntr.dev Secondary
CVSS 2.0 5.8 none AV:N/AC:M/Au:N/C:P/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
edu.stanford.nlp:stanford-corenlp 0 none 4.3.2

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv edu.stanford.nlp stanford-corenlp generic ≤ 4.3.2
nvd stanford corenlp generic ≤ 4.3.2

References

URLTags
https://github.com/stanfordnlp/corenlp/commit/1f52136321cfca68b991bd7870563d06cf96624d commit
https://github.com/stanfordnlp/corenlp WEB
https://huntr.dev/bounties/3d7e70fe-dddd-4b79-af62-8e058c4d5763 WEB

Timeline

Published2022-01-13By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.