Stackurity Start free trial

CVEs / CVE-2019-0232

CVE-2019-0232: Apache Tomcat vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2019-0232

Description

When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 is vulnerable to Remote Code Execution due to a bug in the way the JRE passes command line arguments to Windows. The CGI Servlet is disabled by default. The CGI option enableCmdLineArguments is disable by default in Tomcat 9.0.x (and will be disabled by default in all versions in response to this vulnerability). For a detailed explanation of the JRE behaviour, see Markus Wulftange's blog (https://codewhitesec.blogspot.com/2016/02/java-and-command-line-injections-in-windows.html) and this archived MSDN blog (https://web.archive.org/web/20161228144344/https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/).

The CVE record, via NVD · published 15 Apr 2019 · NVD status: Modified

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Apache Tomcat9.0.0.M1 to 9.0.17—
Apache Tomcat8.5.0 to 8.5.39—
Apache Tomcat7.0.0 to 7.0.93—
As stated by OSV
ProductAffectedFixed in
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 9.0.0.M1, before 9.0.179.0.17
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 8.0.0, before 8.5.408.5.40
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 7.0.0, before 7.0.947.0.94

Package versions from GHSA-8vmx-qmch-mpqg.

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 25 Nov 2026.

Severity

CVSS 3.08.1 high
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-78

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.