{"id":"UBUNTU-CVE-2019-0221","details":"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.","modified":"2026-02-04T02:16:58.476527Z","published":"2019-05-28T00:00:00Z","related":["USN-4128-1","USN-4128-2","USN-6908-1"],"upstream":["CVE-2019-0221"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-0221"},{"type":"REPORT","url":"https://mail-archives.apache.org/mod_mbox/www-announce/201905.mbox/%3Cb1905aa6-f340-8d0b-58c4-8ac3ebcbfa54@apache.org%3E"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4128-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4128-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-0221"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6908-1"}],"affected":[{"package":{"name":"tomcat7","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.52-1ubuntu0.16+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.52-1ubuntu0.16+esm1"}]}],"versions":["7.0.42-1","7.0.47-1","7.0.50-1","7.0.52-1","7.0.52-1ubuntu0.1","7.0.52-1ubuntu0.3","7.0.52-1ubuntu0.6","7.0.52-1ubuntu0.7","7.0.52-1ubuntu0.8","7.0.52-1ubuntu0.9","7.0.52-1ubuntu0.10","7.0.52-1ubuntu0.11","7.0.52-1ubuntu0.13","7.0.52-1ubuntu0.14","7.0.52-1ubuntu0.15","7.0.52-1ubuntu0.16"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"7.0.52-1ubuntu0.16+esm1","binary_name":"libservlet3.0-java"},{"binary_version":"7.0.52-1ubuntu0.16+esm1","binary_name":"libtomcat7-java"},{"binary_version":"7.0.52-1ubuntu0.16+esm1","binary_name":"tomcat7"},{"binary_version":"7.0.52-1ubuntu0.16+esm1","binary_name":"tomcat7-admin"},{"binary_version":"7.0.52-1ubuntu0.16+esm1","binary_name":"tomcat7-common"},{"binary_version":"7.0.52-1ubuntu0.16+esm1","binary_name":"tomcat7-docs"},{"binary_version":"7.0.52-1ubuntu0.16+esm1","binary_name":"tomcat7-examples"},{"binary_version":"7.0.52-1ubuntu0.16+esm1","binary_name":"tomcat7-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-0221.json"}},{"package":{"name":"tomcat8","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat8@8.0.32-1ubuntu1.10?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.32-1ubuntu1.10"}]}],"versions":["8.0.26-1","8.0.28-1","8.0.30-1","8.0.32-1","8.0.32-1ubuntu1","8.0.32-1ubuntu1.1","8.0.32-1ubuntu1.2","8.0.32-1ubuntu1.3","8.0.32-1ubuntu1.4","8.0.32-1ubuntu1.5","8.0.32-1ubuntu1.6","8.0.32-1ubuntu1.7","8.0.32-1ubuntu1.8","8.0.32-1ubuntu1.9"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8.0.32-1ubuntu1.10","binary_name":"libservlet3.1-java"},{"binary_version":"8.0.32-1ubuntu1.10","binary_name":"libtomcat8-java"},{"binary_version":"8.0.32-1ubuntu1.10","binary_name":"tomcat8"},{"binary_version":"8.0.32-1ubuntu1.10","binary_name":"tomcat8-admin"},{"binary_version":"8.0.32-1ubuntu1.10","binary_name":"tomcat8-common"},{"binary_version":"8.0.32-1ubuntu1.10","binary_name":"tomcat8-docs"},{"binary_version":"8.0.32-1ubuntu1.10","binary_name":"tomcat8-examples"},{"binary_version":"8.0.32-1ubuntu1.10","binary_name":"tomcat8-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-0221.json"}},{"package":{"name":"tomcat7","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.68-1ubuntu0.4+esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.68-1ubuntu0.4+esm2"}]}],"versions":["7.0.64-1","7.0.68-1","7.0.68-1ubuntu0.1","7.0.68-1ubuntu0.3","7.0.68-1ubuntu0.4","7.0.68-1ubuntu0.4+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"7.0.68-1ubuntu0.4+esm2","binary_name":"libservlet3.0-java"},{"binary_version":"7.0.68-1ubuntu0.4+esm2","binary_name":"libtomcat7-java"},{"binary_version":"7.0.68-1ubuntu0.4+esm2","binary_name":"tomcat7"},{"binary_version":"7.0.68-1ubuntu0.4+esm2","binary_name":"tomcat7-admin"},{"binary_version":"7.0.68-1ubuntu0.4+esm2","binary_name":"tomcat7-common"},{"binary_version":"7.0.68-1ubuntu0.4+esm2","binary_name":"tomcat7-docs"},{"binary_version":"7.0.68-1ubuntu0.4+esm2","binary_name":"tomcat7-examples"},{"binary_version":"7.0.68-1ubuntu0.4+esm2","binary_name":"tomcat7-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-0221.json"}},{"package":{"name":"tomcat8","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/tomcat8@8.5.39-1ubuntu1~18.04.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.5.39-1ubuntu1~18.04.3"}]}],"versions":["8.5.21-1ubuntu1","8.5.29-1","8.5.30-1","8.5.30-1ubuntu1","8.5.30-1ubuntu1.2","8.5.30-1ubuntu1.3","8.5.30-1ubuntu1.4","8.5.39-1ubuntu1~18.04.1","8.5.39-1ubuntu1~18.04.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8.5.39-1ubuntu1~18.04.3","binary_name":"libtomcat8-embed-java"},{"binary_version":"8.5.39-1ubuntu1~18.04.3","binary_name":"libtomcat8-java"},{"binary_version":"8.5.39-1ubuntu1~18.04.3","binary_name":"tomcat8"},{"binary_version":"8.5.39-1ubuntu1~18.04.3","binary_name":"tomcat8-admin"},{"binary_version":"8.5.39-1ubuntu1~18.04.3","binary_name":"tomcat8-common"},{"binary_version":"8.5.39-1ubuntu1~18.04.3","binary_name":"tomcat8-docs"},{"binary_version":"8.5.39-1ubuntu1~18.04.3","binary_name":"tomcat8-examples"},{"binary_version":"8.5.39-1ubuntu1~18.04.3","binary_name":"tomcat8-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-0221.json"}},{"package":{"name":"tomcat9","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/tomcat9@9.0.16-3ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.16-3ubuntu0.18.04.1"}]}],"versions":["9.0.16-3~18.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"9.0.16-3ubuntu0.18.04.1","binary_name":"libtomcat9-embed-java"},{"binary_version":"9.0.16-3ubuntu0.18.04.1","binary_name":"libtomcat9-java"},{"binary_version":"9.0.16-3ubuntu0.18.04.1","binary_name":"tomcat9"},{"binary_version":"9.0.16-3ubuntu0.18.04.1","binary_name":"tomcat9-admin"},{"binary_version":"9.0.16-3ubuntu0.18.04.1","binary_name":"tomcat9-common"},{"binary_version":"9.0.16-3ubuntu0.18.04.1","binary_name":"tomcat9-docs"},{"binary_version":"9.0.16-3ubuntu0.18.04.1","binary_name":"tomcat9-examples"},{"binary_version":"9.0.16-3ubuntu0.18.04.1","binary_name":"tomcat9-user"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-0221.json"}},{"package":{"name":"tomcat7","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.78-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.78-1ubuntu0.1~esm1"}]}],"versions":["7.0.78-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"7.0.78-1ubuntu0.1~esm1","binary_name":"libservlet3.0-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-0221.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"low"}]}