CVE-2019-0232

Summary

CVECVE-2019-0232
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-04-15 15:29:00 UTC
Updated2026-11-02 18:18:21 UTC
DescriptionWhen 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/).

Risk And Classification

Primary CVSS: v3.0 8.1 HIGH from [email protected]

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.999230000 probability, percentile 0.999690000 (date 2026-11-02)

Problem Types: CWE-78 | Remote Code Execution


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary8.1HIGHCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary9.3AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Tomcat 9.0.0 milestone1 All All
Application Apache Tomcat 9.0.0 milestone10 All All
Application Apache Tomcat 9.0.0 milestone11 All All
Application Apache Tomcat 9.0.0 milestone12 All All
Application Apache Tomcat 9.0.0 milestone13 All All
Application Apache Tomcat 9.0.0 milestone14 All All
Application Apache Tomcat 9.0.0 milestone15 All All
Application Apache Tomcat 9.0.0 milestone16 All All
Application Apache Tomcat 9.0.0 milestone17 All All
Application Apache Tomcat 9.0.0 milestone18 All All
Application Apache Tomcat 9.0.0 milestone19 All All
Application Apache Tomcat 9.0.0 milestone2 All All
Application Apache Tomcat 9.0.0 milestone20 All All
Application Apache Tomcat 9.0.0 milestone21 All All
Application Apache Tomcat 9.0.0 milestone22 All All
Application Apache Tomcat 9.0.0 milestone23 All All
Application Apache Tomcat 9.0.0 milestone24 All All
Application Apache Tomcat 9.0.0 milestone25 All All
Application Apache Tomcat 9.0.0 milestone26 All All
Application Apache Tomcat 9.0.0 milestone3 All All
Application Apache Tomcat 9.0.0 milestone4 All All
Application Apache Tomcat 9.0.0 milestone5 All All
Application Apache Tomcat 9.0.0 milestone6 All All
Application Apache Tomcat 9.0.0 milestone7 All All
Application Apache Tomcat 9.0.0 milestone8 All All
Application Apache Tomcat 9.0.0 milestone9 All All
Application Apache Tomcat All All All All
Application Apache Tomcat All All All All
Application Apache Tomcat All All All All
Operating System Microsoft Windows - All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Tomcat affected 9.0.0.M1 to 9.0.17 Not specified
CNA Apache Tomcat affected 8.5.0 to 8.5.39 Not specified
CNA Apache Tomcat affected 7.0.0 to 7.0.93 Not specified

References

ReferenceSourceLinkTags
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Apache Tomcat CVE-2019-0232 Remote Code Execution Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Synology Inc. af854a3a-2127-422b-91ae-364da2661108 www.synology.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Oracle Critical Patch Update - July 2019 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Remote Code Execution (RCE) in CGI Servlet – Apache Tomcat on Windows – CVE-2019-0232 | Nightwatch Cybersecurity af854a3a-2127-422b-91ae-364da2661108 wwws.nightwatchcybersecurity.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Apache Tomcat CGIServlet enableCmdLineArguments Remote Code Execution ≈ Packet Storm af854a3a-2127-422b-91ae-364da2661108 packetstormsecurity.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Uncovering CVE-2019-0232: A Remote Code Execution Vulnerability in Apache Tomcat - TrendLabs Security Intelligence Blog af854a3a-2127-422b-91ae-364da2661108 blog.trendmicro.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Oracle Critical Patch Update Advisory - April 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Oracle Critical Patch Update - October 2019 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Oracle Critical Patch Update Advisory - April 2020 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
code white | Blog: Java and Command Line Injections in Windows af854a3a-2127-422b-91ae-364da2661108 codewhitesec.blogspot.com Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Full Disclosure: RCE in CGI Servlet – Apache Tomcat on Windows – CVE-2019-0232 af854a3a-2127-422b-91ae-364da2661108 seclists.org
Everyone quotes command line arguments the wrong way – Twisty Little Passages, All Alike af854a3a-2127-422b-91ae-364da2661108 web.archive.org Third Party Advisory
Oracle Critical Patch Update Advisory - January 2020 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
April 2019 Apache Tomcat Vulnerabilities in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
Broadcom Inc. | Connecting Everything af854a3a-2127-422b-91ae-364da2661108 www.broadcom.com Technical Description
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 20287 Oracle Database 19c OJVM Critical Patch Update - January 2020
  • 20300 Oracle Database 18c Critical OJVM Patch Update - January 2020
  • 20305 Oracle Database 12.2.0.1 Critical OJVM Patch Update - January 2020
  • 982261 Java (maven) Security Update for org.apache.tomcat.embed:tomcat-embed-core (GHSA-8vmx-qmch-mpqg)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report