{"id":"UBUNTU-CVE-2016-6797","details":"The ResourceLinkFactory implementation in Apache Tomcat 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70 and 6.0.0 to 6.0.45 did not limit web application access to global JNDI resources to those resources explicitly linked to the web application. Therefore, it was possible for a web application to access any global JNDI resource whether an explicit ResourceLink had been configured or not.","modified":"2026-01-30T02:50:35.360336Z","published":"2016-10-28T00:00:00Z","related":["USN-3177-1","USN-4557-1"],"upstream":["CVE-2016-6797"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-6797"},{"type":"REPORT","url":"http://markmail.org/message/wrku5orwxfpt5mzl?q=list:org.apache.tomcat.announce/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3177-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4557-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-6797"}],"affected":[{"package":{"name":"tomcat7","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.52-1ubuntu0.8?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.52-1ubuntu0.8"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libservlet3.0-java","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"libtomcat7-java","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7-admin","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7-common","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7-docs","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7-examples","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7-user","binary_version":"7.0.52-1ubuntu0.8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-6797.json"}},{"package":{"name":"tomcat6","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/tomcat6@6.0.39-1ubuntu0.1+esm2?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.37-1","6.0.39-1","6.0.39-1ubuntu0.1","6.0.39-1ubuntu0.1+esm1","6.0.39-1ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libservlet2.4-java","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"libservlet2.5-java","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"libtomcat6-java","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-admin","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-common","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-docs","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-examples","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-extras","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-user","binary_version":"6.0.39-1ubuntu0.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-6797.json"}},{"package":{"name":"tomcat6","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat6@6.0.45+dfsg-1ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.45+dfsg-1ubuntu0.1"}]}],"versions":["6.0.41-4","6.0.45+dfsg-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libservlet2.5-java","binary_version":"6.0.45+dfsg-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-6797.json"}},{"package":{"name":"tomcat7","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.68-1ubuntu0.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.68-1ubuntu0.3"}]}],"versions":["7.0.64-1","7.0.68-1","7.0.68-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libservlet3.0-java","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"libtomcat7-java","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7-admin","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7-common","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7-docs","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7-examples","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7-user","binary_version":"7.0.68-1ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-6797.json"}},{"package":{"name":"tomcat8","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat8@8.0.32-1ubuntu1.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.32-1ubuntu1.3"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libservlet3.1-java","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"libtomcat8-java","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8-admin","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8-common","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8-docs","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8-examples","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8-user","binary_version":"8.0.32-1ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-6797.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}