CVE-2019-0221
Medium
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.
SeverityMedium
CVSS6.1
Exploit probability—
Product
Apache Tomcat
PublishedMay 28, 2019
First seenMay 28, 2019
How to fix
Update
- org.apache.tomcat.embed:tomcat-embed-core9.0.17, 8.5.40, 7.0.94 or later
- org.apache.tomcat:tomcat-catalina9.0.17, 8.5.40, 7.0.94 or later
- org.apache.tomcat:tomcat9.0.17, 8.5.40, 7.0.94 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQTZ5BJ5F4KV6N53SGNKSW3UY5DBIQ46/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NPHQEL5AQ6LZSZD2Y6TYZ4RC3WI7NXJ3/
- usn.ubuntu.com/4128-1/
- usn.ubuntu.com/4128-2/
- access.redhat.com/errata/RHSA-2019:3929
- access.redhat.com/errata/RHSA-2019:3931
- debian.org/security/2019/dsa-4596
- security.gentoo.org/glsa/202003-43
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache tomcat | 7.0.0 ≤ v ≤ 7.0.93, 8.5.0 ≤ v ≤ 8.5.39, 9.0.1 ≤ v ≤ 9.0.17, 9.0.0 | — |
| org.apache.tomcat.embed:tomcat-embed-coreMaven | 9.0.0 ≤ v < 9.0.17, 8.5.0 ≤ v < 8.5.40, 7.0.0 ≤ v < 7.0.94 | 9.0.17, 8.5.40, 7.0.94 |
| org.apache.tomcat:tomcat-catalinaMaven | 9.0.0 ≤ v < 9.0.17, 8.5.0 ≤ v < 8.5.40, 7.0.0 ≤ v < 7.0.94 | 9.0.17, 8.5.40, 7.0.94 |
| org.apache.tomcat:tomcatMaven | 9.0.0 ≤ v < 9.0.17, 8.5.0 ≤ v < 8.5.40, 7.0.0 ≤ v < 7.0.94 | 9.0.17, 8.5.40, 7.0.94 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.