Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat/tomcat-util
  4. ›
  5. CVE-2019-0221

CVE-2019-0221: Cross-site Scripting

May 28, 2019 (updated June 7, 2019)

The SSI printenv command in Apache Tomcat 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.

References

  • lists.apache.org/thread.html/6e6e9eacf7b28fd63d249711e9d3ccd4e0a83f556e324aee37be5a8c@%3Cannounce.tomcat.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2019-0221

Code Behaviors & Features

Detect and mitigate CVE-2019-0221 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.0.0 up to 7.0.93, all versions starting from 8.5.0 up to 8.5.39, all versions starting from 9.0.0.M1 up to 9.0.17

Fixed versions

  • 7.0.94
  • 8.5.40
  • 9.0.19

Solution

Upgrade to versions 7.0.94, 8.5.40, 9.0.19 or above.

Impact 6.1 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.apache.tomcat/tomcat-util/CVE-2019-0221.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:57 +0000.