CVE-2016-5018
CRITICAL 9.1CVSS 3.1Authentication Bypass Using an Alternate Path or Channel in Apache Tomcat
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.
- Published
- 10 Aug 2017
- Last modified
- 8 Oct 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-288
- Also known as
- GHSA-4v3g-g84w-hv7r
- Sources
- NVDJSONOSV GHSA-4v3g-g84w-hv7rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 6.0.0, <= 6.0.45 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 7.0.0, <= 7.0.70 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 8.0, <= 8.0.36 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 8.5.0, <= 8.5.4 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone1:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone2:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone3:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone4:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone5:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone6:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone7:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone8:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone9:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | netapp | oncommand_insightcpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | oncommand_shiftcpe:2.3:a:netapp:oncommand_shift:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | snap_creator_frameworkcpe:2.3:a:netapp:snap_creator_framework:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* |
= 16.04 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | jboss_enterprise_application_platformcpe:2.3:a:redhat:jboss_enterprise_application_platform:6.4:*:*:*:*:*:*:* |
= 6.4 | |
| NVD | redhat | jboss_enterprise_web_servercpe:2.3:a:redhat:jboss_enterprise_web_server:3.0.0:*:*:*:*:*:*:* |
= 3.0.0 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:7.5:*:*:*:*:*:*:* |
= 7.5 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:* |
= 7.7 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:* |
= 7.7 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:* |
= 7.7 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | oracle | tekelec_platform_distributioncpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:* |
>= 7.4.0, <= 7.7.1 | |
| OSV | Maven | org.apache.tomcat:tomcat-jasper | >= 9.0.0.M1, < 9.0.0.M10 | 9.0.0.M10 |
| OSV | Maven | org.apache.tomcat:tomcat-jasper | >= 8.5.0, < 8.5.5 | 8.5.5 |
| OSV | Maven | org.apache.tomcat:tomcat-jasper | >= 8.0.0RC1, < 8.0.37 | 8.0.37 |
| OSV | Maven | org.apache.tomcat:tomcat-jasper | >= 7.0.0, < 7.0.72 | 7.0.72 |
| OSV | Maven | org.apache.tomcat:jasper | >= 6.0.0, < 6.0.47 | 6.0.47 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-jasper | >= 9.0.0.M1, < 9.0.0.M10 | 9.0.0.M10 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-jasper | >= 8.5.0, < 8.5.5 | 8.5.5 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-jasper | >= 8.0.0RC1, < 8.0.37 | 8.0.37 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-jasper | >= 7.0.0, < 7.0.72 | 7.0.72 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-jasper | >= 6.0.0, < 6.0.47 | 6.0.47 |
References
- http://packetstormsecurity.com/files/155873/Tomcat-9.0.0.M1-Sandbox-Escape.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://rhn.redhat.com/errata/RHSA-2017-0457.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2017-1551.html · Third Party Advisory, WEB
- http://www.debian.org/security/2016/dsa-3720 · Third Party Advisory, WEB
- http://www.securityfocus.com/bid/93942 · Broken Link
- http://www.securitytracker.com/id/1037142 · Broken Link
- http://www.securitytracker.com/id/1038757 · Broken Link
- https://access.redhat.com/errata/RHSA-2017:0455 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2017:0456 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2017:1548 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2017:1549 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2017:1550 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2017:1552 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2017:2247 · Third Party Advisory, WEB
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/9b3a63a20c87179815fdea14f6766853bafe79a0042dc0b4aa878a9e%40%3Cannounce.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E · WEB
- https://security.netapp.com/advisory/ntap-20180605-0001/ · Third Party Advisory, WEB
- https://usn.ubuntu.com/4557-1/ · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuoct2021.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-5018 · ADVISORY
- https://github.com/apache/tomcat/commit/648122fef84d3b43223e0b5ae668f84719dada0a · WEB
- https://github.com/apache/tomcat/commit/890a2f681ed2f3461b27983d7da9737375ff2ae4 · WEB
- https://github.com/apache/tomcat/commit/a6b1ebc246b91b854237e5aad3dfd2b5460ea282 · WEB
- https://lists.apache.org/thread.html/9b3a63a20c87179815fdea14f6766853bafe79a0042dc0b4aa878a9e@%3Cannounce.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E · WEB
- https://web.archive.org/web/20161125134649/http://www.securityfocus.com/bid/93942 · WEB
- https://web.archive.org/web/20170908024318/http://www.securitytracker.com/id/1037142 · WEB
- https://web.archive.org/web/20171012232225/http://www.securitytracker.com/id/1038757 · WEB
- https://github.com/apache/tomcat · PACKAGE
- https://github.com/search?q=repo%3Aapache%2Ftomcat+jasper.runtime+path%3A%2F%5Eres%5C%2Fbnd%5C%2F%2F&type=code · WEB
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7@%3Cdev.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424@%3Cdev.tomcat.apache.org%3E · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 10 Aug 2017)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)