CVE-2019-0221
A public proof of concept exists; no exploitation attested.
- Published2019-05-28
- WeaknessCWE-79
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
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- 2019-05-2821:01CVE publishedCNA
- 2021-07-13Exploit-DB entryExploit-DB
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, < 9.0.17 | 9.0.17 | OSV |
| 8.5 | ≥ 8.5.0, < 8.5.40 | 8.5.40 | OSV |
| 7.0 | ≥ 7.0.0, < 7.0.94 | 7.0.94 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | ≥ 9.0.0, < 9.0.17 | 9.0.17 | OSV |
| 8.5 | ≥ 8.5.0, < 8.5.40 | 8.5.40 | OSV |
| 7.0 | ≥ 7.0.0, < 7.0.94 | 7.0.94 | OSV |
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 TomcatAffected
- = 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
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
Red Hat Security Advisory: Red Hat JBoss Web Server 3.1 Service Pack 8 security update
Red Hat Security Advisory: Red Hat JBoss Web Server 3.1 Service Pack 8 security update
Red Hat Security Advisory: Red Hat JBoss Web Server 5.2 security release
Red Hat Security Advisory: Red Hat JBoss Web Server 5.2 security release
Fix
- 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
- 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).
- 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: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
- 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.
- 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
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-11-02
- NVDCVSS 3.06.1read 2026-11-02
- NVDCVSS 2.04.3read 2026-11-02
- NVDweakness (CWE)CWE-79read 2026-11-02
- FIRST EPSSEPSS score58.3 %read 2026-12-04
- Exploit-DBdetectionread 2026-12-04
- ProjectDiscoverydetectionread 2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2019-05-30
Identifiers
- EUVD-2019-0473same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-jjpq-gp5q-8q6wsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-1810-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-1883-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4596-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2019-0260advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2019:1673-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2019:1808-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11468-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13441-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2019:3929advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:0861advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2019:1693-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:1866-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2019:1895-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:14375-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:1497-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:1498-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-4128-1advisory covering several CVEsUbuntu
- USN-4128-2advisory covering several CVEsUbuntu
- USN-6908-1advisory covering several CVEsUbuntu
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?
Is CVE-2019-0221 actively exploited?
What is the CVSS score for CVE-2019-0221?
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
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-jjpq-gp5q-8q6w
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0