Back
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…
Medium6.1EPSS 59.2%
- Published
- Updated
- Reserved
- Assigned by
- apache
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 59.2% · top 0.9% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
- Cross-Site Scripting
- CWE-79 (opens in a new tab)All about CWE-79 and its CVEs
Affected products
- affected Apache Tomcat 9.0.0.M1 to 9.0.0.17
- affected 8.5.0 to 8.5.39
- affected 7.0.0 to 7.0.93
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.tomcat.embed:tomcat-embed-coreGHSA-jjpq-gp5q-8q6w (opens in a new tab)
- Mavenorg.apache.tomcat:tomcatGHSA-jjpq-gp5q-8q6w (opens in a new tab)
- Mavenorg.apache.tomcat:tomcat-catalinaGHSA-jjpq-gp5q-8q6w (opens in a new tab)
References (29)
- 20190529 XSS in SSI printenv command - Apache Tomcat - CVE-2019-0221 (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- [debian-lts-announce] 20190530 [SECURITY] [DLA 1810-1] tomcat7 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 108545 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- FEDORA-2019-1a3f878d27 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- openSUSE-SU-2019:1673 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- FEDORA-2019-d66febb5df (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- openSUSE-SU-2019:1808 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- [debian-lts-announce] 20190813 [SECURITY] [DLA 1883-1] tomcat8 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-4128-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-4128-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2019:3929 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:3931 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-4596 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20191229 [SECURITY] [DSA 4596-1] tomcat8 security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- [announce] 20200131 Apache Software Foundation Security Report: 2019 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200203 svn commit: r1873527 [24/30] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200203 svn commit: r1873527 [25/30] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200213 svn commit: r1873980 [28/34] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200213 svn commit: r1873980 [29/34] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- GLSA-202003-43 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://www.oracle.com/security-alerts/cpuapr2020.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujan2020.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpuApr2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.apache.org/thread.html/6e6e9eacf7b28fd63d249711e9d3ccd4e0a83f556e324aee37be5a8c%40%3Cannounce.tomcat.apache.org%3E (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://security.netapp.com/advisory/ntap-20190606-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://wwws.nightwatchcybersecurity.com/2019/05/27/xss-in-ssi-printenv-command-apache-tomcat-cve-2019-0221/ (opens in a new tab)x_refsource_MISCx_transferred
- https://support.f5.com/csp/article/K13184144?utm_source=f5support&%3Butm_medium=RSS (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://packetstormsecurity.com/files/163457/Apache-Tomcat-9.0.0.M1-Cross-Site-Scripting.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jjpq-gp5q-8q6w (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-0221)Record last updated .