Live threats

All CVEs / Apache

CVE-2019-0221Apache Tomcat

Medium 6.1 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tomcat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachetomcat≥ 7.0.0 ≤ 7.0.93
apachetomcat≥ 8.5.0 ≤ 8.5.39
apachetomcat≥ 9.0.1 ≤ 9.0.17
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0
apachetomcat9.0.0

Official sources

References

Links published by the sources. Open them with care.