{"id":"UBUNTU-CVE-2017-12616","details":"When using a VirtualDirContext with Apache Tomcat 7.0.0 to 7.0.80 it was possible to bypass security constraints and/or view the source code of JSPs for resources served by the VirtualDirContext using a specially crafted request.","modified":"2026-01-30T00:30:23.793662Z","published":"2017-09-19T00:00:00Z","related":["USN-3665-1","USN-7282-1"],"upstream":["CVE-2017-12616"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-12616"},{"type":"REPORT","url":"https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.81"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/1df9b4552464caa42047062fe7175da0da06c18ecc8daf99258bbda6@%3Cannounce.tomcat.apache.org%3E"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3665-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-12616"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7282-1"}],"affected":[{"package":{"name":"tomcat7","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.52-1ubuntu0.14?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.52-1ubuntu0.14"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"7.0.52-1ubuntu0.14","binary_name":"libservlet3.0-java"},{"binary_version":"7.0.52-1ubuntu0.14","binary_name":"libtomcat7-java"},{"binary_version":"7.0.52-1ubuntu0.14","binary_name":"tomcat7"},{"binary_version":"7.0.52-1ubuntu0.14","binary_name":"tomcat7-admin"},{"binary_version":"7.0.52-1ubuntu0.14","binary_name":"tomcat7-common"},{"binary_version":"7.0.52-1ubuntu0.14","binary_name":"tomcat7-docs"},{"binary_version":"7.0.52-1ubuntu0.14","binary_name":"tomcat7-examples"},{"binary_version":"7.0.52-1ubuntu0.14","binary_name":"tomcat7-user"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12616.json"}},{"package":{"name":"tomcat7","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.68-1ubuntu0.4+esm3?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.68-1ubuntu0.4+esm3"}]}],"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","7.0.68-1ubuntu0.4+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"7.0.68-1ubuntu0.4+esm3","binary_name":"libservlet3.0-java"},{"binary_version":"7.0.68-1ubuntu0.4+esm3","binary_name":"libtomcat7-java"},{"binary_version":"7.0.68-1ubuntu0.4+esm3","binary_name":"tomcat7"},{"binary_version":"7.0.68-1ubuntu0.4+esm3","binary_name":"tomcat7-admin"},{"binary_version":"7.0.68-1ubuntu0.4+esm3","binary_name":"tomcat7-common"},{"binary_version":"7.0.68-1ubuntu0.4+esm3","binary_name":"tomcat7-docs"},{"binary_version":"7.0.68-1ubuntu0.4+esm3","binary_name":"tomcat7-examples"},{"binary_version":"7.0.68-1ubuntu0.4+esm3","binary_name":"tomcat7-user"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-12616.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"}]}],"versions":["7.0.78-1","7.0.78-1ubuntu0.1~esm1"],"ecosystem_specific":{"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/2017/UBUNTU-CVE-2017-12616.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}