CVE-2019-0221Apache Tomcat
Medium 6.1 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- Priority
- 57
- CVSS 3.0
- 6.1
- EPSS
- 58.3% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- May 28, 2019
- Updated
- Nov 2, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Tomcat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 9.0.0 < 9.0.17 |
9.0.17 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 8.5.0 < 8.5.40 |
8.5.40 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 7.0.0 < 7.0.94 |
7.0.94 |
— |
| Maven | org.apache.tomcat:tomcat |
≥ 9.0.0 < 9.0.17 |
9.0.17 |
— |
| Maven | org.apache.tomcat:tomcat |
≥ 8.5.0 < 8.5.40 |
8.5.40 |
— |
| Maven | org.apache.tomcat:tomcat |
≥ 7.0.0 < 7.0.94 |
7.0.94 |
— |
| Maven | org.apache.tomcat:tomcat-catalina |
≥ 9.0.0 < 9.0.17 |
9.0.17 |
— |
| Maven | org.apache.tomcat:tomcat-catalina |
≥ 8.5.0 < 8.5.40 |
8.5.40 |
— |
| Maven | org.apache.tomcat:tomcat-catalina |
≥ 7.0.0 < 7.0.94 |
7.0.94 |
— |
Per OSV / GitHub Advisories (GHSA-jjpq-gp5q-8q6w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | ≥ 7.0.0 ≤ 7.0.93 |
| apache | tomcat | ≥ 8.5.0 ≤ 8.5.39 |
| apache | tomcat | ≥ 9.0.1 ≤ 9.0.17 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
| apache | tomcat | 9.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- lists.opensuse.org
- packetstormsecurity.com
- seclists.org Third Party Advisory
- www.securityfocus.com
- access.redhat.com
- access.redhat.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.debian.org
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- seclists.org
- security.gentoo.org
- security.netapp.com
- support.f5.com
- usn.ubuntu.com
- usn.ubuntu.com
- www.debian.org
- www.oracle.com
- www.oracle.com
- www.oracle.com
- wwws.nightwatchcybersecurity.com