Description
The setGlobalContext method in org/apache/naming/factory/ResourceLinkFactory.java in Apache Tomcat 7.x before 7.0.68, 8.x before 8.0.31, and 9.x before 9.0.0.M3 does not consider whether ResourceLinkFactory.setGlobalContext callers are authorized, which allows remote authenticated users to bypass intended SecurityManager restrictions and read or write to arbitrary application data, or cause a denial of service (application disruption), via a web application that sets a crafted global context.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | tomcat7 | 7.0.56-3+deb8u2 | DSA-3552-1 |
| Debian 8 | tomcat8 | 8.0.14-1+deb8u2 | DSA-3609-1 |
| Debian 7 | tomcat6 | 6.0.45+dfsg-1~deb7u1 | DSA-3530-1 |
| Debian 7 | tomcat7 | 7.0.28-4+deb7u4 | DSA-3552-1 |
| Debian 6.0 | tomcat6 | 6.0.45-1~deb6u1 | DLA-435-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | tomcat6 | 6.0.45+dfsg-1 | — |
| Ubuntu 16.04 LTS | tomcat7 | 7.0.68-1ubuntu0.1 | USN-3024-1 |
| Ubuntu 14.04 LTS | tomcat6 | 6.0.39-1ubuntu0.1 | — |
| Ubuntu 14.04 LTS | tomcat7 | 7.0.52-1ubuntu0.6 | USN-3024-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | tomcat +9 | 7.0.69-10.el7 | RHSA-2016:2599 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss Web Server 3 | httpd24 +5 | 2.4.6-61.ep7.el6 | RHSA-2016:1088, RHSA-2016:1087 |
| Red Hat JBoss Web Server 3 | mod_security-jws3 | 2.8.0-7.GA.ep7.el6 | RHSA-2016:1088, RHSA-2016:1087 |
| Red Hat JBoss Web Server 3 | mod_ssl24 +1 | 1:2.4.6-61.ep7.el6 | RHSA-2016:1088, RHSA-2016:1087 |
| Red Hat JBoss Web Server 3 | tomcat7 +9 | 7.0.59-50_patch_01.ep7.el6 | RHSA-2016:1088, RHSA-2016:1087 |
| Red Hat JBoss Web Server 3 | tomcat8 +9 | 8.0.18-61_patch_01.ep7.el6 | RHSA-2016:1088, RHSA-2016:1087 |
| Red Hat JBoss Web Server 2 | tomcat7 +10 | 7.0.54-23_patch_05.ep6.el6 | RHSA-2016:2807 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | tomcat | 8.0.32-3.1 | SUSE-SU-2016:0769-1 |
| SLES 12 | tomcat | 7.0.68-7.6.1 | SUSE-SU-2016:0822-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | tomcat | 8.0.32-3.1 | SUSE-SU-2016:0769-1 |
| SLES for SAP 12 | tomcat | 7.0.68-7.6.1 | SUSE-SU-2016:0822-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tomcat | 8.0.36-3.3 | openSUSE-SU-2024:10446-1 |
| openSUSE Tumbleweed | tomcat10 | 10.1.14-1.1 | openSUSE-SU-2024:13441-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 7.0.0, < 7.0.68 | 7.0.68 | GHSA-9hjv-9h75-xmpp |
| Maven | org.apache.tomcat:tomcat | >= 8.0.0, < 8.0.32 | 8.0.32 | GHSA-9hjv-9h75-xmpp |
| Maven | org.apache.tomcat:tomcat | >= 9.0.0M1, < 9.0.0.M3 | 9.0.0.M3 | GHSA-9hjv-9h75-xmpp |
Advisories 14
- USN-3024-1 tomcat6, tomcat7 vulnerabilities Ubuntu Security Notices (USN) · Oct 17, 2026
- RHSA-2016:2599 Red Hat Security Advisory: tomcat security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2016:1088 Red Hat Security Advisory: Red Hat JBoss Web Server 3.0.3 update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2016:1087 Red Hat Security Advisory: Red Hat JBoss Web Server 3.0.3 update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2016:2807 Red Hat Security Advisory: Red Hat JBoss Web Server 2.1.2 security update for Tomcat 7 Red Hat Security Advisories (RHSA) · Oct 8, 2026
- DLA-435-1 tomcat6 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3530-1 tomcat6 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3552-1 tomcat7 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3609-1 tomcat8 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:0822-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10446-1 tomcat-8.0.36-3.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13441-1 tomcat10-10.1.14-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0769-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-1277 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2024
References
- GLSA-201705-09 vendor-advisory
- http://svn.apache.org/viewvc?view=revision&revision=1725931
- openSUSE-SU-2016:0865 vendor-advisory
- http://tomcat.apache.org/security-9.html
- USN-3024-1 vendor-advisory
- SUSE-SU-2016:0769 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05324755
- DSA-3530 vendor-advisory
- http://tomcat.apache.org/security-7.html
- 20160222 [SECURITY] CVE-2016-0763 Apache Tomcat Security Manager Bypass mailing-list
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- RHSA-2016:1089 vendor-advisory
- FEDORA-2016-e6651efbaf vendor-advisory
- http://tomcat.apache.org/security-8.html
- RHSA-2016:1087 vendor-advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- 1035069 vdb-entry
- https://bto.bluecoat.com/security-advisory/sa118
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442
- RHSA-2016:2807 vendor-advisory
- RHSA-2016:1088 vendor-advisory
- https://security.netapp.com/advisory/ntap-20180531-0001/
- RHSA-2016:2808 vendor-advisory
- http://svn.apache.org/viewvc?view=revision&revision=1725929
- SUSE-SU-2016:0822 vendor-advisory
- RHSA-2016:2599 vendor-advisory
- 83326 vdb-entry
- DSA-3609 vendor-advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158626
- DSA-3552 vendor-advisory
- http://svn.apache.org/viewvc?view=revision&revision=1725926
- [tomcat-dev] 20190319 svn commit: r1855831 [25/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ mailing-list