Skip to main content
Public proof of conceptFix available

CVE-2019-0221

A public proof of concept exists; no exploitation attested.

  • Published2019-05-28
  • WeaknessCWE-79

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

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 escaping and is, therefore, vulnerable to XSS. SSI is disabled by default. The printenv command is intended for debugging and is unlikely to be present in a production website.

Timeline

dates in UTC
  1. 2019-05-2821:01CVE publishedCNA
  2. 2021-07-13Exploit-DB entryExploit-DB

Versions per branch

NVD · OSV
Apache Tomcat
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
BranchAffectedFixed in
9.0≥ 9.0.0, < 9.0.179.0.17
8.5≥ 8.5.0, < 8.5.408.5.40
7.0≥ 7.0.0, < 7.0.947.0.94
tomcat-catalina
BranchAffectedFixed in
9.0≥ 9.0.0, < 9.0.179.0.17
8.5≥ 8.5.0, < 8.5.408.5.40
7.0≥ 7.0.0, < 7.0.947.0.94

1 more product in the sources.

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
    • = Apache Tomcat 9.0.0.M1 to 9.0.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-07-13

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

60 more package ranges on OSV.dev

Vendor advisories

  • CVE-2019-0221 Red Hat Product Security145 products fixed · 32 known affected

    tomcat: XSS in SSI printenv

    tomcat as a component of Red Hat BPM Suite 6 · tomcat6 as a component of Red Hat Enterprise Linux 6 · tomcat6-admin-webapps as a component of Red Hat Enterprise Linux 6 · +29 more

  • RHSA-2020:0861 Red Hat Product Security60 products fixed

    Red Hat Security Advisory: Red Hat JBoss Web Server 3.1 Service Pack 8 security update

  • RHSA-2020:0860 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Web Server 3.1 Service Pack 8 security update

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

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

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

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

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2020:0861 · 60 productsBefore 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
  2. Vendor fix Red Hat Product Security RHSA-2020:0860 · 1 productBefore applying the update, back up your existing Red Hat JBoss Web Server installation (including all applications and configuration files). The References section of this erratum contains a download link (you must log in to download the update).
  3. 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
  4. Vendor fix Red Hat Product Security RHSA-2019:3931 · 1 productBefore 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
  5. Workaround from the vendor Red Hat Product Security RHSA-2020:0861 · 60 productsSSI is disabled in the default Tomcat configuration. The vulnerable printenv command is intended for debugging, and is recommended to not be enabled for a production website.
  6. No fix available, says the vendor Red Hat Product Security CVE-2019-0221 · 12 productsFix deferred

Detection

read 2026-12-04 04:56 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
EDB-50119
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
2019-05-28
Last modified
2026-11-02
NVD status
Modified
GitHub advisory
GHSA-jjpq-gp5q-8q6w

Frequently asked questions

What is CVE-2019-0221?

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 escaping and is, therefore, vulnerable to XSS. SSI is disabled by default. The printenv command is intended for debugging and is unlikely to be present in a production website.

Is CVE-2019-0221 actively exploited?

Active exploitation of CVE-2019-0221 has not been confirmed. Its EPSS score was 58.3% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

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

CVE-2019-0221 has a CVSS v3 base score of 6.1 (Medium severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

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 checks · 250 API requests/month

Sources for this record