VDB

CVE-2019-0221

CVE-2019-0221 PUBLISHED CVSS 4.300000190734863 MEDIUM

Cross-site scripting in Apache Tomcat

Reported by apache · Published May 28, 2019

tomcat-catalina is fixed in 9.0.17, 8.5.40 and 7.0.94 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.tomcat:tomcat-catalinaMaven Central9.0.17, 8.5.40, 7.0.94
org.apache.tomcat.embed:tomcat-embed-coreMaven Central9.0.17, 8.5.40, 7.0.94
org.apache.tomcat:tomcat-utilMaven Central9.0.17, 8.5.39, 7.0.93
org.apache.tomcat:tomcatMaven Central9.0.17, 8.5.40, 8.5.39, 7.0.94, 7.0.93
tomcat-javadocAmazon Linux7.0.76-10.amzn2.0.5
tomcat-servlet-3.0-apiAmazon Linux7.0.76-10.amzn2.0.5
tomcat-admin-webappsAmazon Linux7.0.76-10.amzn2.0.5
tomcat-webappsAmazon Linux7.0.76-10.amzn2.0.5
tomcat-docs-webappAmazon Linux7.0.76-10.amzn2.0.5
tomcat-jsp-2.2-apiAmazon Linux7.0.76-10.amzn2.0.5
tomcat-el-2.2-apiAmazon Linux7.0.76-10.amzn2.0.5
tomcatAmazon Linux7.0.76-10.amzn2.0.5

9 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 2.0
4.300000190734863

Affected products

VendorProductVersions
ApacheApache TomcatApache Tomcat 9.0.0.M1 to 9.0.0.17, 8.5.0 to 8.5.39, 7.0.0 to 7.0.93
apachetomcat
amazon:2tomcat-javadoc0
Mavenorg.apache.tomcat:tomcat-catalina9.0.0, 8.5.0, 7.0.0
amazon:2tomcat-servlet-3.0-api0
Mavenorg.apache.tomcat:tomcat-util7.0.0, 9.0.0.M1, 8.5.0
amazon:2tomcat-admin-webapps0
amazon:2tomcat-webapps0
amazon:2tomcat-docs-webapp0
amazon:2tomcat-jsp-2.2-api0
Mavenorg.apache.tomcat:tomcat7.0.0, 9.0.0, 8.5.0
amazon:2tomcat-el-2.2-api0
amazon:2tomcat0
Mavenorg.apache.tomcat.embed:tomcat-embed-core8.5.0, 9.0.0, 7.0.0
amazon:2tomcat-lib0
amazon:2tomcat-jsvc0
ApacheApache Tomcat7.0.0, 8.5.0, 9.0.0.M1

Timeline

  • May 28, 2019 CVE Published
  • Jun 11, 2020 PoC Published (2 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (8 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (14 in total, the first dated here)
  • Sep 18, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-0221
vulnetix vdb fixes CVE-2019-0221

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-0221/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 36 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›