Bug 1701056 (CVE-2019-0232) - CVE-2019-0232 tomcat: Remote Code Execution on Windows
Summary: CVE-2019-0232 tomcat: Remote Code Execution on Windows
Alias: CVE-2019-0232
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On:
Blocks: 1700240
TreeView+ depends on / blocked
Reported: 2019-04-17 21:47 UTC by Laura Pardo
Modified: 2021-02-16 22:05 UTC (History)
78 users (show)

Fixed In Version: tomcat 7.0.94, tomcat 8.5.40, tomcat 9.0.19
Doc Type: If docs needed, set a value
Doc Text:
A flaw was discovered in Apache Tomcat, where a Java Runtime Environment can pass a command-line argument in the Windows operating system. The execution of arbitrary commands via Tomcat’s Common Gateway Interface (CGI) Servlet, allows an attacker to perform remote code execution.
Clone Of:
Last Closed: 2019-07-12 13:07:01 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:1712 0 None None None 2019-07-09 13:56:25 UTC

Description Laura Pardo 2019-04-17 21:47:48 UTC
A vulnerability was found in 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. When running on Windows with enableCmdLineArguments enabled, the CGI Servlet 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).


Upstream Patch:

Comment 3 Doran Moppert 2019-04-18 05:23:59 UTC

This vulnerability is specific to the Windows platform's treatment of file names and how they must be quoted.  Tomcat running on Linux hosts is not affected.

Comment 4 errata-xmlrpc 2019-07-09 13:56:22 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server

Via RHSA-2019:1712 https://access.redhat.com/errata/RHSA-2019:1712

Comment 5 Product Security DevOps Team 2019-07-12 13:07:01 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


Note You need to log in before you can comment on or make changes to this bug.