CVE-2023-39020
Java vulnerability analysis and mitigation

Overview

Stanford Parser version 3.9.2 and below contains a code injection vulnerability in the component edu.stanford.nlp.io.getBZip2PipedInputStream. The vulnerability was discovered and disclosed on July 28, 2023, and affects the Stanford Parser Java library. The vulnerability has been assigned CVE-2023-39020 and received a CVSS v3.1 base score of 9.8 (CRITICAL) (NVD, FortiGuard).

Technical details

The vulnerability exists in the edu.stanford.nlp.io.IOUtils.java file, specifically in the getBZip2PipedInputStream method. The vulnerability occurs when the method fails to properly validate an unchecked argument, which can lead to arbitrary command execution. The vulnerability can be exploited by manipulating the 'bzcat' system property to execute arbitrary commands (GitHub POC).

Impact

If successfully exploited, this vulnerability allows attackers to execute arbitrary code via passing an unchecked argument to the affected component. Given the CVSS score of 9.8, this represents a critical security risk that could lead to complete system compromise (NVD).

Mitigation and workarounds

The recommended mitigation is to strictly check whether System.getProperty('bzcat', 'bzcat') returns the legitimate path of the bzcat executable. Users should upgrade to a version newer than 3.9.2 if available (GitHub POC).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55749HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-tool-jetty-resources
NoYesDec 01, 2025
CVE-2025-13806MEDIUM6.9
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13805MEDIUM6.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13804MEDIUM5.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-66372LOW2.8
  • JavaJava
  • org.mustangproject:library
NoYesNov 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management