CVE-2016-5018
Authentication Bypass Using an Alternate Path or Channel in Apache Tomcat
Reported by apache · Published August 10, 2017
tomcat-embed-jasper is fixed in 9.0.0.M10, 8.5.5, 8.0.37 and 2 more (Maven Central)
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 a malicious web application was able to bypass a configured SecurityManager via a Tomcat utility method that was accessible to web applications.
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.embed:tomcat-embed-jasper | Maven Central | 9.0.0.M10, 8.5.5, 8.0.37, 7.0.72, 6.0.47 |
| org.apache.tomcat:tomcat-jasper | Maven Central | 9.0.0.M10, 8.5.5, 8.0.37, 7.0.72 |
| tomcat7 | Ubuntu:14.04:LTS | 7.0.52-1ubuntu0.8 |
| tomcat | apache | 8.5.4, 8.0.36, 7.0.70, 6.0.45 |
| tomcat8 | Ubuntu:16.04:LTS | 8.0.32-1ubuntu1.3 |
| tekelec_platform_distribution | oracle | 7.7.1 |
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 | 9.0.0.M1, 6.0.0, 7.0.0 |
| Maven | org.apache.tomcat:tomcat-catalina | 6.0.0, 9.0.0.M1, 8.5.0 |
| Maven | tomcat:jasper-runtime | 0 |
| Maven | org.apache.tomcat:jasper | 6.0.0 |
| Maven | org.apache.tomcat:tomcat-jasper | 9.0.0.M1, 7.0.0, 8.0.0RC1 |
| Maven | org.apache.tomcat.embed:tomcat-embed-jasper | 9.0.0.M1, 6.0.0, 7.0.0 |
Timeline
- Oct 28, 2016 CVE Published
- Jan 8, 2020 PoC Published (2 in total, the first dated here)
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 5, 2026 Security Advisory (11 in total, the first dated here)
- Oct 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-5018
vulnetix vdb fixes CVE-2016-5018
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-5018/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2017:1548 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:1549 vendor-advisoryx_refsource_REDHAT
- 93942 vdb-entryx_refsource_BID
- RHSA-2017:1552 vendor-advisoryx_refsource_REDHAT
- 1038757 vdb-entryx_refsource_SECTRACK
- RHSA-2017:2247 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:1551 vendor-advisoryx_refsource_REDHAT
- [announce] 20161027 [SECURITY] CVE-2016-5018 Apache Tomcat Security Manager Bypass mailing-listx_refsource_MLIST
- 1037142 vdb-entryx_refsource_SECTRACK
- RHSA-2017:0457 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0455 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:1550 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 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-listx_refsource_MLIST
…and 35 more