CVE-2019-0232Apache Tomcat
High 8.1 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- 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/).
What to do
- Apply the vendor's security update for Tomcat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | ≥ 7.0.0 ≤ 7.0.93 |
| apache | tomcat | ≥ 8.5.0 ≤ 8.5.39 |
| apache | tomcat | ≥ 9.0.1 ≤ 9.0.17 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com
- seclists.org
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com
- blog.trendmicro.com
- codewhitesec.blogspot.com Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- security.netapp.com Third Party Advisory
- web.archive.org Third Party Advisory
- www.broadcom.com Technical Description
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.synology.com
- wwws.nightwatchcybersecurity.com