CVE-2019-0232
A public proof of concept exists; no exploitation attested.
- Published2019-04-15
- WeaknessCWE-78
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2019-04-1514:23CVE publishedCNA
- 2019-04-1515:29CVE publishedNVD
- 2019-07-03Exploit-DB entryExploit-DB
Observed activity
isMalicious corpus · updated 2026-11-03 03:37 UTCBlock 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| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.0 | ≥ 7.0.0, ≤ 7.0.93 | no fix published | NVD |
| 8.5 | ≥ 8.5.0, ≤ 8.5.39 | no fix published | NVD |
| 9.0 | ≥ 9.0.1, ≤ 9.0.17 | no fix published | NVD |
| 9.0 | = 9.0.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | ≥ 9.0.0.M1, < 9.0.17 | 9.0.17 | OSV |
| 8.x | ≥ 8.0.0, < 8.5.40 | 8.5.40 | OSV |
| 7.0 | ≥ 7.0.0, < 7.0.94 | 7.0.94 | OSV |
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 TomcatAffected
- = 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
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
Red Hat Security Advisory: Red Hat JBoss Web Server 5.2 security release
Red Hat Security Advisory: Red Hat JBoss Web Server 3.1 Service Pack 7 security and bug fix update
Fix
- 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
- 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
- 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
- Proof-of-concept repositories
- 15 repositories, unverifiedpyn3rd/CVE-2019-0232jas502n/CVE-2019-0232cyy95/CVE-2019-0232-EXPsetrus/CVE-2019-0232Nicoslo/Windows-exploitation-Apache-Tomcat-8.5.19-CVE-2019-0232- PoC-in-GitHub
- Metasploit modules
- 1 moduleexploit/windows/http/tomcat_cgi_cmdlineargsrank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-11-02
- OpenCVESSVC decisionnone—
- NVDCVSS 3.08.1read 2026-11-02
- NVDCVSS 2.09.3read 2026-11-02
- NVDweakness (CWE)CWE-78read 2026-11-02
- FIRST EPSSEPSS score99.9 %read 2026-11-02
- PoC-in-GitHubproof of concept15read 2026-11-02
- Exploit-DBdetectionread 2026-11-02
- ProjectDiscoverydetectionread 2026-11-02
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2020-06-16
Identifiers
- EUVD-2019-0411same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-8vmx-qmch-mpqgsame flawGitHub Advisory Database · CC-BY-4.0
- exploit/windows/http/tomcat_cgi_cmdlineargsexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- RHSA-2019:3929advisory covering several CVEsRed Hat · CC-BY-4.0
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?
Is CVE-2019-0232 actively exploited?
What is the CVSS score for CVE-2019-0232?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-8vmx-qmch-mpqg
- Metasploit Framework · BSD-3-Clause
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0