Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2019-0232

tomcat: Remote Code Execution on Windows

Overview

Published
15 Apr 2019
Modified
2 Nov 2026
High CVE
1 Registry packages
19 OS packages
1 Linux distributions
Yes Fix available

Description

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

Source: OX vulnerability database

Severity

8.1 · HIGH

CVSS 3.0 base score, scored by NVD.

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

Weakness: CWE-78

Affected packages · 1

Packages affected by CVE-2019-0232
EcosystemPackageVulnerableFixed in
Maven org.apache.tomcat.embed:tomcat-embed-core >=9.0.0.M1, <9.0.17>=8.0.0, <8.5.40>=7.0.0, <7.0.94 9.0.178.5.407.0.94

Open a package to see all its vulnerabilities.

Operating systems · 15 fixes

Red Hat 3 releases · 7 packages

fixed 14 affected 1
jws5-tomcat-vault jws5-tomcat-native jws5-mod-cluster jws5-jboss-logging jws5-javapackages-tools jws5-ecj +1
Red Hat fixes for CVE-2019-0232
ReleasePackageFixed inAdvisory
7 jws5-tomcat-vault +1 0:1.1.8-1.Final_redhat_1.1.el7jws RHSA-2019:3929
7 jws5-tomcat-native 0:1.2.21-34.redhat_34.el7jws RHSA-2019:3929
7 jws5-mod-cluster +1 0:1.4.1-1.Final_redhat_00001.2.el7jws RHSA-2019:3929
7 jws5-jboss-logging 0:3.3.2-1.Final_redhat_00001.1.el7jws RHSA-2019:3929
7 jws5-javapackages-tools +1 0:3.4.1-5.15.11.el7jws RHSA-2019:3929
7 jws5-ecj 0:4.12.0-1.redhat_1.1.el7jws RHSA-2019:3929

9 more rows

References

Show all 57 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.