Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2019-0221

tomcat: XSS in SSI printenv

Overview

Published
28 May 2019
Modified
2 Nov 2026
Medium CVE
3 Registry packages
72 OS packages
5 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

6.1 · MEDIUM

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

Weakness: CWE-79

Affected packages · 3

Packages affected by CVE-2019-0221
EcosystemPackageVulnerableFixed in
Maven org.apache.tomcat:tomcat >=9.0.0, <9.0.17>=8.5.0, <8.5.40>=7.0.0, <7.0.94 9.0.178.5.407.0.94
Maven org.apache.tomcat:tomcat-catalina >=9.0.0, <9.0.17>=8.5.0, <8.5.40>=7.0.0, <7.0.94 9.0.178.5.407.0.94
Maven org.apache.tomcat.embed:tomcat-embed-core >=9.0.0, <9.0.17>=8.5.0, <8.5.40>=7.0.0, <7.0.94 9.0.178.5.407.0.94

Open a package to see all its vulnerabilities.

Operating systems · 34 fixes

Red Hat 4 releases · 12 packages

affected 3 fixed 17
tomcat jws5-tomcat-vault jws5-tomcat-native tomcat-native jws5-mod-cluster jws5-jboss-logging +6
Red Hat fixes for CVE-2019-0221
ReleasePackageFixed inAdvisory
7 tomcat +9 affected —
7 jws5-tomcat-vault +1 0:1.1.8-1.Final_redhat_1.1.el7jws RHSA-2019:3929
7 jws5-tomcat-native 0:1.2.21-34.redhat_34.el7jws RHSA-2019:3929
7 tomcat-native 0:1.2.23-21.redhat_21.ep7.el7 RHSA-2020:0861
7 jws5-mod-cluster +1 0:1.4.1-1.Final_redhat_00001.2.el7jws RHSA-2019:3929
7 jws5-jboss-logging 0:3.3.2-1.Final_redhat_00001.1.el7jws RHSA-2019:3929

14 more rows

debian 5 releases · 3 packages

fixed 5 affected 1
tomcat9 tomcat7 tomcat8
debian fixes for CVE-2019-0221
ReleasePackageFixed in
11 tomcat9 9.0.16-4
12 tomcat9 9.0.16-4
13 tomcat9 9.0.16-4
14 tomcat9 9.0.16-4
9 tomcat7 affected
9 tomcat8 8.5.50-0+deb9u1

echo 1 release · 1 package

fixed 1
tomcat9
echo fixes for CVE-2019-0221
ReleasePackageFixed in
tomcat9 9.0.16-4

openSUSE 1 release · 2 packages

fixed 2
tomcat10 tomcat
openSUSE fixes for CVE-2019-0221
ReleasePackageFixed inAdvisory
Tumbleweed tomcat10 +10 10.1.14-1.1 openSUSE-SU-2024:13441-1
Tumbleweed tomcat +10 9.0.36-8.4 openSUSE-SU-2024:11468-1

ubuntu 2 releases · 3 packages

fixed 5
tomcat8 tomcat9 tomcat7
ubuntu fixes for CVE-2019-0221
ReleasePackageFixed in
18.04 tomcat8 8.5.39-1ubuntu1~18.04.3
18.04 tomcat9 9.0.16-3ubuntu0.18.04.1
18.04-ESM tomcat7 7.0.78-1ubuntu0.1~esm1
18.04-ESM tomcat8 8.5.39-1ubuntu1~18.04.3
18.04-ESM tomcat9 9.0.16-3ubuntu0.18.04.1

References

Show all 60 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.