CVE-2016-6797
Incorrect Authorization in Apache Tomcat
Reported by apache · Published August 10, 2017
tomcat-catalina is fixed in 9.0.0.M9, 8.5.4, 8.0.36 and 1 more (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat-catalina | Maven Central | 9.0.0.M9, 8.5.4, 8.0.36, 7.0.72 |
| org.apache.tomcat:tomcat | Maven Central | 9.0.0.M9, 8.5.4, 8.0.36, 7.0.72 |
| tekelec_platform_distribution | oracle | 7.7.1 |
| tomcat7 | Ubuntu:16.04:LTS | 7.0.68-1ubuntu0.3 |
| tomcat7 | Ubuntu:14.04:LTS | 7.0.52-1ubuntu0.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 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 |
| Apache Software Foundation | Apache Tomcat | 8.5.0, 8.0.0.RC1, 7.0.0 |
| Maven | org.apache.tomcat:tomcat | 7.0.0, 8.0.0, 8.5.0 |
| Maven | org.apache.tomcat:tomcat-catalina | 7.0.0, 8.0.0, 8.5.0 |
Timeline
- Oct 28, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 PoC Published (2 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 5, 2026 Security Advisory (7 in total, the first dated here)
- Oct 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-6797
vulnetix vdb fixes CVE-2016-6797
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-6797/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 93940 vdb-entryx_refsource_BID
- [announce] 20161027 [SECURITY] CVE-2016-6797 Apache Tomcat Unrestricted Access to Global Resources mailing-listx_refsource_MLIST
- 1037145 vdb-entryx_refsource_SECTRACK
- RHSA-2017:2247 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0457 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0455 vendor-advisoryx_refsource_REDHAT
- DSA-3720 vendor-advisoryx_refsource_DEBIAN
- RHSA-2017:0456 vendor-advisoryx_refsource_REDHAT
- [tomcat-dev] 20190319 svn commit: r1855831 [25/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190319 svn commit: r1855831 [23/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [24/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [21/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857494 [17/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857494 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857494 [15/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190415 svn commit: r1857582 [17/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190415 svn commit: r1857582 [19/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20190415 svn commit: r1857582 [16/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20200203 svn commit: r1873527 [23/30] - /tomcat/site/trunk/docs/ mailing-listx_refsource_MLIST
…and 24 more