Skip to content
OpenAdvisories
High · 7.5 CVE-2016-6797 EUVD-2022-4905GHSA-q6x7-f33r-3wxx

Incorrect Authorization in Apache Tomcat

Published Aug 10, 2017 · Updated Oct 8, 2026 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation 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, 6.0.0 to 6.0.45 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 8 tomcat7 7.0.56-3+deb8u5 DSA-3721-1
Debian 8 tomcat8 8.0.14-1+deb8u4 DSA-3720-1
Debian 7 tomcat6 6.0.45+dfsg-1~deb7u3 DLA-728-1
Debian 7 tomcat7 7.0.28-4+deb7u7 DLA-729-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS tomcat6 6.0.45+dfsg-1ubuntu0.1 USN-4557-1
Ubuntu 16.04 LTS tomcat7 7.0.68-1ubuntu0.3 —
Ubuntu 16.04 LTS tomcat8 8.0.32-1ubuntu1.3 USN-3177-1
Ubuntu 14.04 LTS tomcat7 7.0.52-1ubuntu0.8 USN-3177-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS tomcat6 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 7 tomcat +9 7.0.76-2.el7 RHSA-2017:2247
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss Web Server 3 hibernate4-eap6 +4 4.2.23-1.Final_redhat_1.1.ep6.el6 RHSA-2017:0456, RHSA-2017:0455
Red Hat JBoss Web Server 3 jbcs-httpd24-apache-commons-daemon 1.0.15-1.redhat_2.1.jbcs.el6 RHSA-2017:0456, RHSA-2017:0455
Red Hat JBoss Web Server 3 jbcs-httpd24-apache-commons-daemon-jsvc 1:1.0.15-17.redhat_2.jbcs.el6 RHSA-2017:0456, RHSA-2017:0455
Red Hat JBoss Web Server 3 jbcs-httpd24-runtime 1-3.jbcs.el6 RHSA-2017:0456, RHSA-2017:0455
Red Hat JBoss Web Server 3 mod_cluster +2 1.3.5-2.Final_redhat_2.1.ep7.el6 RHSA-2017:0456, RHSA-2017:0455
Red Hat JBoss Web Server 3 tomcat-native 1.2.8-9.redhat_9.ep7.el6 RHSA-2017:0456, RHSA-2017:0455
Red Hat JBoss Web Server 3 tomcat-vault 1.0.8-9.Final_redhat_2.1.ep7.el6 RHSA-2017:0456, RHSA-2017:0455
Red Hat JBoss Web Server 3 tomcat7 +11 7.0.70-16.ep7.el6 RHSA-2017:0456, RHSA-2017:0455
Red Hat JBoss Web Server 3 tomcat8 +11 8.0.36-17.ep7.el6 RHSA-2017:0456, RHSA-2017:0455
ReleasePackageFixed inAdvisory
SLES 12 SP2 tomcat 8.0.36-17.1 SUSE-SU-2016:3081-1
SLES 12 SP1 tomcat 8.0.32-10.13.2 SUSE-SU-2016:3079-1
SLES 12 tomcat 7.0.78-7.13.4 SUSE-SU-2017:1660-1
SLES 11 SP4 tomcat6 6.0.53-0.56.1 SUSE-SU-2017:1632-1
SLES 11 SP3 tomcat6 6.0.53-0.56.1 SUSE-SU-2017:1632-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP2 tomcat 8.0.36-17.1 SUSE-SU-2016:3081-1
SLES for SAP 12 SP1 tomcat 8.0.32-10.13.2 SUSE-SU-2016:3079-1
SLES for SAP 12 tomcat 7.0.78-7.13.4 SUSE-SU-2017:1660-1
SLES for SAP 11 SP4 tomcat6 6.0.53-0.56.1 SUSE-SU-2017:1632-1
SUSE Linux Enterprise Point of Sale 11 SP3 tomcat6 6.0.53-0.56.1 SUSE-SU-2017:1632-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 tomcat +9 7.0.76-2.el7 ELSA-2017-2247

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat >= 9.0.0.M1, < 9.0.0.M10 9.0.0.M10 GHSA-q6x7-f33r-3wxx
Maven org.apache.tomcat:tomcat >= 8.5.0, < 8.5.5 8.5.5 GHSA-q6x7-f33r-3wxx
Maven org.apache.tomcat:tomcat >= 8.0.0, < 8.0.37 8.0.37 GHSA-q6x7-f33r-3wxx
Maven org.apache.tomcat:tomcat >= 7.0.0, < 7.0.72 7.0.72 GHSA-q6x7-f33r-3wxx

Advisories 14

References