Skip to main content
Public proof of conceptFix available

CVE-2019-0232

A public proof of concept exists; no exploitation attested.

  • Published2019-04-15
  • WeaknessCWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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

Timeline

dates in UTC
  1. 2019-04-1514:23CVE publishedCNA
  2. 2019-04-1515:29CVE publishedNVD
  3. 2019-07-03Exploit-DB entryExploit-DB

Observed activity

isMalicious corpus · updated 2026-11-03 03:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2019-0232?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2019-0232?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Apache Tomcatversion to verify
BranchAffectedFixed in
7.0≥ 7.0.0, ≤ 7.0.93no fix published
8.5≥ 8.5.0, ≤ 8.5.39no fix published
9.0≥ 9.0.1, ≤ 9.0.17no fix published
9.0= 9.0.0no fix published
tomcat-embed-core
BranchAffectedFixed in
9.0≥ 9.0.0.M1, < 9.0.179.0.17
8.x≥ 8.0.0, < 8.5.408.5.40
7.0≥ 7.0.0, < 7.0.947.0.94

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Apache Tomcat
    Affected
    • = 9.0.0.M1 to 9.0.17no fix stated
    • = 8.5.0 to 8.5.39no fix stated
    • = 7.0.0 to 7.0.93no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2021-06-14

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • jws5-ecjRed Hat:jboss_enterprise_web_server:5.2::el8all versions · fixed in 0:4.12.0-1.redhat_1.1.el8jws
  • jws5-ecjRed Hat:jboss_enterprise_web_server:5.2::el7all versions · fixed in 0:4.12.0-1.redhat_1.1.el7jws
  • jws5-ecjRed Hat:jboss_enterprise_web_server:5.2::el6all versions · fixed in 0:4.12.0-1.redhat_1.1.el6jws
  • jws5-javapackages-toolsRed Hat:jboss_enterprise_web_server:5.2::el8all versions · fixed in 0:3.4.1-5.15.11.el8jwsand 1 other package
  • jws5-javapackages-toolsRed Hat:jboss_enterprise_web_server:5.2::el7all versions · fixed in 0:3.4.1-5.15.11.el7jwsand 1 other package
  • jws5-javapackages-toolsRed Hat:jboss_enterprise_web_server:5.2::el6all versions · fixed in 0:3.4.1-5.15.11.el6jwsand 1 other package
  • jws5-jboss-loggingRed Hat:jboss_enterprise_web_server:5.2::el8all versions · fixed in 0:3.3.2-1.Final_redhat_00001.1.el8jws
  • jws5-jboss-loggingRed Hat:jboss_enterprise_web_server:5.2::el7all versions · fixed in 0:3.3.2-1.Final_redhat_00001.1.el7jws

14 more package ranges on OSV.dev

Vendor advisories

  • CVE-2019-0232 Red Hat Product Security84 products fixed · 14 known affected

    tomcat: Remote Code Execution on Windows

    tomcat6 as a component of Red Hat JBoss Enterprise Web Server 2 · tomcat6-admin-webapps as a component of Red Hat JBoss Enterprise Web Server 2 · tomcat6-docs-webapp as a component of Red Hat JBoss Enterprise Web Server 2 · +11 more

  • RHSA-2019:3929 Red Hat Product Security83 products fixed

    Red Hat Security Advisory: Red Hat JBoss Web Server 5.2 security release

  • RHSA-2019:1712 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Web Server 3.1 Service Pack 7 security and bug fix update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2019:3929 · 83 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  2. Vendor fix Red Hat Product Security RHSA-2019:1712 · 1 productBefore applying the update, back up your existing Red Hat JBoss Web Server installation (including all applications and configuration files). For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. No fix planned, says the vendor Red Hat Product Security CVE-2019-0232 · 14 productsWill not fix

Detection

read 2026-11-02 22:42 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
EDB-47073
Exploit-DB
Metasploit modules
1 moduleexploit/windows/http/tomcat_cgi_cmdlineargsrank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2019-04-15
Last Modified
2026-11-02
NVD status
Modified
GitHub Advisory
GHSA-8vmx-qmch-mpqg

Frequently asked questions

What is CVE-2019-0232?

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

Is CVE-2019-0232 actively exploited?

Active exploitation of CVE-2019-0232 has not been confirmed. Its EPSS score was 99.9% on 2026-11-02, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-0232?

CVE-2019-0232 has a CVSS v3 base score of 8.1 (HIGH severity), with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running Apache Tomcat? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record