WaratekVRT Sign in

CVE-2019-0221 Apache Tomcat

Affected softwareApache Tomcat
Severity6.1 Medium CVSS 3.0 2 scores
Fixed in9.0.17, 8.5.40, 7.0.94
WeaknessCross-site scripting (CWE-79)
Published28 May 2019
Updated2 Nov 2026

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.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 2 indexed Published artifacts you can open, in Exploit-DB, Nuclei; first seen 2021-07-13.
  • EPSS 58% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.
IndexArtifactStarsFirst seen
Exploit-DB Apache Tomcat 9.0.0.M1 - Cross-Site Scripting (XSS) 2021-07-13
Nuclei Apache Tomcat - Cross-Site Scripting

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.apache.tomcat.embed:tomcat-embed-core, org.apache.tomcat:tomcat-catalina, org.apache.tomcat:tomcat), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

CVSS

6.1 MEDIUM v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 6.1 MEDIUM CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N NVD Primary published
CVSS 2.0 4.3 none AV:N/AC:M/Au:N/C:N/I:P/A:N NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2021 ↗ CPU 2021-Q2 Oracle Fusion Middleware / BI Platform Security (Apache Tomcat) (5.5.0.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Fusion Middleware BI Platform Security (Apache Tomcat) 5.5.0.0.0 5.5.0.0.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.tomcat.embed:tomcat-embed-core 9.0.0 9.0.17 unbounded
org.apache.tomcat.embed:tomcat-embed-core 8.5.0 8.5.40 unbounded
org.apache.tomcat.embed:tomcat-embed-core 7.0.0 7.0.94 unbounded
org.apache.tomcat:tomcat-catalina 9.0.0 9.0.17 unbounded
org.apache.tomcat:tomcat-catalina 8.5.0 8.5.40 unbounded
org.apache.tomcat:tomcat-catalina 7.0.0 7.0.94 unbounded
org.apache.tomcat:tomcat 9.0.0 9.0.17 unbounded
org.apache.tomcat:tomcat 8.5.0 8.5.40 unbounded
org.apache.tomcat:tomcat 7.0.0 7.0.94 unbounded

Products and versions

4 products, 39 version entries
SourceVendorProductSchemeAffected versions
nvd apache tomcat generic ≥ 7.0.0 and ≤ 7.0.93 · ≥ 8.5.0 and ≤ 8.5.39 · 9.0.0:milestone1 · 9.0.0:milestone10 · 9.0.0:milestone11 · 9.0.0:milestone12 · 9.0.0:milestone13 · 9.0.0:milestone14 · 9.0.0:milestone15 · 9.0.0:milestone16 · 9.0.0:milestone17 · 9.0.0:milestone18 · 9.0.0:milestone19 · 9.0.0:milestone2 · 9.0.0:milestone20 · 9.0.0:milestone21 · 9.0.0:milestone22 · 9.0.0:milestone23 · 9.0.0:milestone24 · 9.0.0:milestone25 · 9.0.0:milestone26 · 9.0.0:milestone27 · 9.0.0:milestone3 · 9.0.0:milestone4 · 9.0.0:milestone5 · 9.0.0:milestone6 · 9.0.0:milestone7 · 9.0.0:milestone8 · 9.0.0:milestone9 · ≥ 9.0.1 and ≤ 9.0.17
osv org.apache.tomcat tomcat generic ≥ 7.0.0 and < 7.0.94 · ≥ 8.5.0 and < 8.5.40 · ≥ 9.0.0 and < 9.0.17
osv org.apache.tomcat tomcat-catalina generic ≥ 7.0.0 and < 7.0.94 · ≥ 8.5.0 and < 8.5.40 · ≥ 9.0.0 and < 9.0.17
osv org.apache.tomcat.embed tomcat-embed-core generic ≥ 7.0.0 and < 7.0.94 · ≥ 8.5.0 and < 8.5.40 · ≥ 9.0.0 and < 9.0.17

References

URLTags
https://github.com/apache/tomcat/commit/15fcd166ea2c1bb79e8541b8e1a43da9c452ceea WEB
https://github.com/apache/tomcat/commit/44ec74c44dcd05cd7e90967c04d40b51440ecd7e WEB
https://github.com/apache/tomcat/commit/4fcdf706f3ecf35912a600242f89637f5acb32da WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQTZ5BJ5F4KV6N53SGNKSW3UY5DBIQ46 WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NPHQEL5AQ6LZSZD2Y6TYZ4RC3WI7NXJ3 WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQTZ5BJ5F4KV6N53SGNKSW3UY5DBIQ46 WEB
https://seclists.org/bugtraq/2019/Dec/43 WEB
https://security.gentoo.org/glsa/202003-43 WEB
https://security.netapp.com/advisory/ntap-20190606-0001 WEB
https://support.f5.com/csp/article/K13184144?utm_source=f5support&amp%3Butm_medium=RSS WEB

Timeline

Published2019-05-28By the CVE Program.
NVD record modified2026-11-02NVD's own last-modified date for this record.