{"id":"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.","aliases":["GHSA-q6x7-f33r-3wxx"],"modified":"2026-07-08T05:48:18.365632937Z","published":"2017-08-10T22:29:00.203Z","related":["SUSE-SU-2016:3079-1","SUSE-SU-2016:3081-1","SUSE-SU-2017:1632-1","SUSE-SU-2017:1660-1"],"database_specific":{"unresolved_ranges":[{"vendor_product":"apache:tomcat","extracted_events":[{"introduced":"6.0.0"},{"last_affected":"6.0.45"},{"introduced":"8.0"},{"last_affected":"8.0.36"}],"cpes":["cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*"],"source":"CPE_RANGE"},{"cpes":["cpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.4.0"},{"last_affected":"7.7.1"}],"vendor_product":"oracle:tekelec_platform_distribution","source":"CPE_RANGE"},{"cpes":["cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*"],"extracted_events":[{"introduced":"16.04"},{"last_affected":"16.04"}],"vendor_product":"canonical:ubuntu_linux","source":"CPE_STRING"},{"vendor_product":"debian:debian_linux","extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"}],"cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"],"source":"CPE_STRING"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"vendor_product":"redhat:enterprise_linux_desktop","source":"CPE_STRING"},{"vendor_product":"redhat:enterprise_linux_eus","extracted_events":[{"introduced":"7.4"},{"last_affected":"7.4"},{"introduced":"7.5"},{"last_affected":"7.5"},{"introduced":"7.6"},{"last_affected":"7.6"},{"introduced":"7.7"},{"last_affected":"7.7"}],"cpes":["cpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_eus:7.5:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:*"],"source":"CPE_STRING"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"vendor_product":"redhat:enterprise_linux_server","source":"CPE_STRING"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.4"},{"last_affected":"7.4"},{"introduced":"7.6"},{"last_affected":"7.6"},{"introduced":"7.7"},{"last_affected":"7.7"}],"vendor_product":"redhat:enterprise_linux_server_aus","source":"CPE_STRING"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.6"},{"last_affected":"7.6"},{"introduced":"7.7"},{"last_affected":"7.7"}],"vendor_product":"redhat:enterprise_linux_server_tus","source":"CPE_STRING"},{"cpes":["cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0"},{"last_affected":"7.0"}],"vendor_product":"redhat:enterprise_linux_workstation","source":"CPE_STRING"},{"cpes":["cpe:2.3:a:redhat:jboss_enterprise_web_server:3.0.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"3.0.0"},{"last_affected":"3.0.0"}],"vendor_product":"redhat:jboss_enterprise_web_server","source":"CPE_STRING"}]},"references":[{"type":"WEB","url":"http://www.securityfocus.com/bid/93940"},{"type":"WEB","url":"http://www.securitytracker.com/id/1037145"},{"type":"WEB","url":"https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/9325837eb00cba5752c092047433c7f0415134d16e7f391447ff4352%40%3Cannounce.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2017-0457.html"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3720"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:0455"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:0456"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2017:2247"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180605-0001/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4557-1/"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/tomcat","events":[{"introduced":"e498667bd7811e846771a852b16ce9f1e524b81b"},{"last_affected":"ff181ab22b2b18e77ab9e0f0c2cfe5cfa59c844c"},{"introduced":"e37b977db6f47e4380ad67114a49e8568951c953"},{"last_affected":"3e5565173dfe107f90419ab63bd4e2e7edc9deb4"},{"introduced":"29b07def810d335012e738b22ab44d4e232b50d1"},{"last_affected":"45f8fd74cdb96490fab8709263a4d862f0d429cf"}],"database_specific":{"extracted_events":[{"introduced":"7.0.0"},{"last_affected":"7.0.70"},{"introduced":"8.5.0"},{"last_affected":"8.5.4"},{"introduced":"9.0.0-milestone1"},{"last_affected":"9.0.0-milestone1"},{"introduced":"9.0.0-milestone2"},{"last_affected":"9.0.0-milestone2"},{"introduced":"9.0.0-milestone3"},{"last_affected":"9.0.0-milestone3"},{"introduced":"9.0.0-milestone4"},{"last_affected":"9.0.0-milestone4"},{"introduced":"9.0.0-milestone5"},{"last_affected":"9.0.0-milestone5"},{"introduced":"9.0.0-milestone6"},{"last_affected":"9.0.0-milestone6"},{"introduced":"9.0.0-milestone7"},{"last_affected":"9.0.0-milestone7"},{"introduced":"9.0.0-milestone8"},{"last_affected":"9.0.0-milestone8"},{"introduced":"9.0.0-milestone9"},{"last_affected":"9.0.0-milestone9"}],"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:9.0.0:milestone1:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:9.0.0:milestone2:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:9.0.0:milestone3:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:9.0.0:milestone4:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:9.0.0:milestone5:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:9.0.0:milestone6:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:9.0.0:milestone7:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:9.0.0:milestone8:*:*:*:*:*:*","cpe:2.3:a:apache:tomcat:9.0.0:milestone9:*:*:*:*:*:*"]}}],"versions":["9.0.0-milestone1","9.0.0-milestone2","9.0.0-milestone3","9.0.0-milestone4","9.0.0-milestone5","9.0.0-milestone6","9.0.0-milestone7","9.0.0-milestone8","9.0.0-milestone9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6797.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}