Quick answers
- Is CVE-2022-0239 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2022-0239 being exploited in the wild.
- How severe is CVE-2022-0239?
- Critical severity, with a CVSS score of 9.8, published 21 January 2022.
- Which products and versions are affected?
- edu.stanford.nlp:stanford-corenlp (Maven) <= 4.3.2, ECOSYSTEM:introduced=0,fixed=4.4.0; Stanford NLP Group CoreNLP <= 4.3.2.
- Is there a fix for CVE-2022-0239?
- Yes. edu.stanford.nlp:stanford-corenlp (Maven): upgrade to 4.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2022-0239 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2022-0239?
- Check whether you run edu.stanford.nlp:stanford-corenlp (Maven) or Stanford NLP Group CoreNLP at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- edu.stanford.nlp:stanford-corenlp (Maven): upgrade to 4.4.0 or later
# set edu.stanford.nlp:stanford-corenlp to 4.4.0 in your pom.xml or build.gradle
Technical details
Stanford CoreNLP (versions 4.3.2 and earlier) is vulnerable to an XML External Entity (XXE) injection vulnerability (CWE-611). The root cause is the improper restriction of XML external entity references when parsing XML documents. A remote, unauthenticated attacker can exploit this by sending a malicious XML payload to an endpoint that utilizes the vulnerable library. Successful exploitation can lead to the disclosure of local files (arbitrary file read), server-side request forgery (SSRF), and denial-of-service (DoS) attacks. The vulnerability has been addressed in version 4.4.0.
Affected products
- Stanford NLP Group CoreNLP <= 4.3.2
Identifiers
- CVE-2022-0239
- GHSA-75vw-3m5v-fprh
Timeline
- 2022-01-17: advisory: NVD published CVE-2022-0239
- 2022-01-21: advisory: GitHub Advisory published
- 2022-01-21: patched: Version 4.4.0 released