Security mailing lists by PureSourceCode

CVE-2019-0232

HIGH 8.1CVSS 3.0

Apache Tomcat OS Command Injection vulnerability

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

Published
15 Apr 2019
Last modified
2 Nov 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-78
Also known as
GHSA-8vmx-qmch-mpqg
Sources
NVDJSONOSV GHSA-8vmx-qmch-mpqgJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 8.1 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 HIGH 8.1 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
>= 7.0.0, <= 7.0.93
NVD apache tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
>= 8.5.0, <= 8.5.39
NVD apache tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
>= 9.0.1, <= 9.0.17
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone1:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone10:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone11:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone12:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone13:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone14:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone15:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone16:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone17:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone18:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone19:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone2:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone20:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone21:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone22:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone23:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone24:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone25:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone26:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone3:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone4:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone5:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone6:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone7:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone8:*:*:*:*:*:*
= 9.0.0
NVD apache tomcat
cpe:2.3:a:apache:tomcat:9.0.0:milestone9:*:*:*:*:*:*
= 9.0.0
OSV Maven org.apache.tomcat.embed:tomcat-embed-core >= 9.0.0.M1, < 9.0.17 9.0.17
OSV Maven org.apache.tomcat.embed:tomcat-embed-core >= 8.0.0, < 8.5.40 8.5.40
OSV Maven org.apache.tomcat.embed:tomcat-embed-core >= 7.0.0, < 7.0.94 7.0.94

References

History

  • 25 Nov 2026 20:22 UTC · NVD: first stored (published 15 Apr 2019)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Apr 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.