Live threats

All CVEs / Apache

CVE-2019-0232Apache Tomcat

High 8.1 No auth neededHigh EPSS

Priority
74
CVSS 3.0
8.1
EPSS
99.9%
probability of exploitation in 30 days · percentile 100
Auth required
No
Published
Apr 15, 2019
Updated
Nov 2, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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/).

Original NVD text.

What to do

  1. Apply the vendor's security update for Tomcat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.tomcat.embed:tomcat-embed-core ≥ 9.0.0.M1 < 9.0.17 9.0.17 —
Maven org.apache.tomcat.embed:tomcat-embed-core ≥ 8.0.0 < 8.5.40 8.5.40 —
Maven org.apache.tomcat.embed:tomcat-embed-core ≥ 7.0.0 < 7.0.94 7.0.94 —

Per OSV / GitHub Advisories (GHSA-8vmx-qmch-mpqg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachetomcat≥ 7.0.0 ≤ 7.0.93
apachetomcat≥ 8.5.0 ≤ 8.5.39
apachetomcat≥ 9.0.1 ≤ 9.0.17
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0

Official sources

References

Links published by the sources. Open them with care.