Skip to content
Noroxi
NVD / CVE Program· CNA apache

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…

HighCVSS 8.1 · v3.0—Weaponized Fix available

Noroxi assessment

Priority: This week (action score 62/100)

  • A ready-made attack module is public (Metasploit, Nuclei); exploiting it takes no special expertise.
  • Public proof-of-concept code exists (Exploit-DB, GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 99.9% (FIRST EPSS); higher than 99.9% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: org.apache.tomcat.embed:tomcat-embed-core (Maven) 7.0.94, 8.5.40, 9.0.17; jws5-ecj (Red Hat:jboss_enterprise_web_server:5.2::el6) 0:4.12.0-1.redhat_1.1.el6jws; jws5-javapackages-tools (Red Hat:jboss_enterprise_web_server:5.2::el6) 0:3.4.1-5.15.11.el6jws.
  • Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Don’t wait for the next maintenance window. Upgrade to org.apache.tomcat.embed:tomcat-embed-core (Maven) 7.0.94, 8.5.40, 9.0.17; jws5-ecj (Red Hat:jboss_enterprise_web_server:5.2::el6) 0:4.12.0-1.redhat_1.1.el6jws; jws5-javapackages-tools (Red Hat:jboss_enterprise_web_server:5.2::el6) 0:3.4.1-5.15.11.el6jws or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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

Published
Apr 15, 2019
Updated
Nov 2, 2026
EPSS
99.9% · 99th percentile

Report tools

JSON

Action score

62

This week

Don’t wait for the next maintenance window.

CVSS
32 / 40 · 8.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
30 / 30 · 99.9%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Weaponized exploit exists
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2019-0232

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
apachetomcat
microsoftwindows

Versions reported by the vendor

Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.

  • Apache Tomcat

    • 9.0.0.M1 to 9.0.17, 8.5.0 to 8.5.39, 7.0.0 to 7.0.93affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Mavenorg.apache.tomcat.embed:tomcat-embed-corefrom 7.0.0 · before 7.0.947.0.94
Mavenorg.apache.tomcat.embed:tomcat-embed-corefrom 8.0.0 · before 8.5.408.5.40
Mavenorg.apache.tomcat.embed:tomcat-embed-corefrom 9.0.0.M1 · before 9.0.179.0.17
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-ecjbefore 0:4.12.0-1.redhat_1.1.el6jws0:4.12.0-1.redhat_1.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-javapackages-toolsbefore 0:3.4.1-5.15.11.el6jws0:3.4.1-5.15.11.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-jboss-loggingbefore 0:3.3.2-1.Final_redhat_00001.1.el6jws0:3.3.2-1.Final_redhat_00001.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-mod_clusterbefore 0:1.4.1-1.Final_redhat_00001.2.el6jws0:1.4.1-1.Final_redhat_00001.2.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-mod_cluster-tomcatbefore 0:1.4.1-1.Final_redhat_00001.2.el6jws0:1.4.1-1.Final_redhat_00001.2.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-python-javapackagesbefore 0:3.4.1-5.15.11.el6jws0:3.4.1-5.15.11.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcatbefore 0:9.0.21-10.redhat_4.1.el6jws0:9.0.21-10.redhat_4.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-admin-webappsbefore 0:9.0.21-10.redhat_4.1.el6jws0:9.0.21-10.redhat_4.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-docs-webappbefore 0:9.0.21-10.redhat_4.1.el6jws0:9.0.21-10.redhat_4.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-el-3.0-apibefore 0:9.0.21-10.redhat_4.1.el6jws0:9.0.21-10.redhat_4.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-javadocbefore 0:9.0.21-10.redhat_4.1.el6jws0:9.0.21-10.redhat_4.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-jsp-2.3-apibefore 0:9.0.21-10.redhat_4.1.el6jws0:9.0.21-10.redhat_4.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-libbefore 0:9.0.21-10.redhat_4.1.el6jws0:9.0.21-10.redhat_4.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-nativebefore 0:1.2.21-34.redhat_34.el6jws0:1.2.21-34.redhat_34.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-native-debuginfobefore 0:1.2.21-34.redhat_34.el6jws0:1.2.21-34.redhat_34.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-selinuxbefore 0:9.0.21-10.redhat_4.1.el6jws0:9.0.21-10.redhat_4.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-servlet-4.0-apibefore 0:9.0.21-10.redhat_4.1.el6jws0:9.0.21-10.redhat_4.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-vaultbefore 0:1.1.8-1.Final_redhat_1.1.el6jws0:1.1.8-1.Final_redhat_1.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-vault-javadocbefore 0:1.1.8-1.Final_redhat_1.1.el6jws0:1.1.8-1.Final_redhat_1.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el6jws5-tomcat-webappsbefore 0:9.0.21-10.redhat_4.1.el6jws0:9.0.21-10.redhat_4.1.el6jws
Red Hat:jboss_enterprise_web_server:5.2::el7jws5-ecjbefore 0:4.12.0-1.redhat_1.1.el7jws0:4.12.0-1.redhat_1.1.el7jws

+39

Other highest-scoring records for the same primary product.

  • CVE-2025-24813Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUTKEV
    99Now
  • CVE-2016-8735Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x…KEV
    96Now
  • CVE-2017-12617When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g.KEV
    92Now

Published before and after this one in the same product

  • ← EarlierCVE-2018-11784Oct 4, 2018 · When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a redirect to a…
    46Plan
  • ← EarlierCVE-2019-0199Apr 10, 2019 · The HTTP/2 implementation in Apache Tomcat 9.0.0.M1 to 9.0.14 and 8.5.0 to 8.5.37 accepted streams with excessive numbers of SETTINGS…
    52Plan
  • Later →CVE-2019-0221May 28, 2019 · The SSI printenv command in Apache Tomcat 9.0.0.M1 to 9.0.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 echoes user provided data without…
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Maven:org.apache.tomcat.embed:tomcat-embed-core7.0.94Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core8.5.40Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core9.0.17Package registry (OSV)
red hat:jws5-ecj0:4.12.0-1.redhat_1.1.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)
red hat:jws5-javapackages-tools0:3.4.1-5.15.11.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)
red hat:jws5-jboss-logging0:3.3.2-1.Final_redhat_00001.1.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)
red hat:jws5-mod_cluster0:1.4.1-1.Final_redhat_00001.2.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)
red hat:jws5-mod_cluster-tomcat0:1.4.1-1.Final_redhat_00001.2.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)
red hat:jws5-python-javapackages0:3.4.1-5.15.11.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)
red hat:jws5-tomcat0:9.0.21-10.redhat_4.1.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)
red hat:jws5-tomcat-admin-webapps0:9.0.21-10.redhat_4.1.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)
red hat:jws5-tomcat-docs-webapp0:9.0.21-10.redhat_4.1.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)
red hat:jws5-tomcat-el-3.0-api0:9.0.21-10.redhat_4.1.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)
red hat:jws5-tomcat-javadoc0:9.0.21-10.redhat_4.1.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)
red hat:jws5-tomcat-jsp-2.3-api0:9.0.21-10.redhat_4.1.el6jws · Red Hat:jboss_enterprise_web_server:5.2::el6Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×1
  • Nuclei detection template ×1
  • Proof-of-concept repository on GitHub ×15

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHub15 repositories2019-04-15 → 2026-07-12
Exploit-DB entryremote2019-07-03
Metasploit moduleexploit/windows/http/tomcat_cgi_cmdlineargsApache Tomcat CGIServlet enableCmdLineArguments Vulnerabilityexploit2019-04-10
Nuclei detection templateNuclei template CVE-2019-0232 —

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Metasploit-6 d
  2. First PoC-1 d
  3. Published
  4. TodayNov 16, 2026+2772 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Root cause

User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const host = req.body.host;exec("ping -c 1 " + host, onResult);

Fixed

ts
const host = req.body.host;if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);execFile("ping", ["-c", "1", host], onResult);

References

Show all references (19 more)

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records