CVE-2015-5174
MEDIUM 4.3CVSS 3.0Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat
Directory traversal vulnerability in RequestUtil.java in Apache Tomcat 6.x before 6.0.45, 7.x before 7.0.65, and 8.x before 8.0.27 allows remote authenticated users to bypass intended SecurityManager restrictions and list a parent directory via a /.. (slash dot dot) in a pathname used by a web application in a getResource, getResourceAsStream, or getResourcePaths call, as demonstrated by the $CATALINA_BASE/webapps directory.
- Published
- 25 Feb 2016
- Last modified
- 14 Oct 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-6qr6-x7jm-x2q6
- Sources
- NVDJSONOSV GHSA-6qr6-x7jm-x2q6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.0:*:*:*:*:*:*:* |
= 6.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.0:alpha:*:*:*:*:*:* |
= 6.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.1:*:*:*:*:*:*:* |
= 6.0.1 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.1:alpha:*:*:*:*:*:* |
= 6.0.1 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.2:*:*:*:*:*:*:* |
= 6.0.2 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.2:alpha:*:*:*:*:*:* |
= 6.0.2 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.2:beta:*:*:*:*:*:* |
= 6.0.2 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.4:*:*:*:*:*:*:* |
= 6.0.4 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.4:alpha:*:*:*:*:*:* |
= 6.0.4 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.10:*:*:*:*:*:*:* |
= 6.0.10 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.11:*:*:*:*:*:*:* |
= 6.0.11 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.13:*:*:*:*:*:*:* |
= 6.0.13 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.14:*:*:*:*:*:*:* |
= 6.0.14 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.16:*:*:*:*:*:*:* |
= 6.0.16 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.18:*:*:*:*:*:*:* |
= 6.0.18 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.20:*:*:*:*:*:*:* |
= 6.0.20 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.24:*:*:*:*:*:*:* |
= 6.0.24 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.26:*:*:*:*:*:*:* |
= 6.0.26 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.28:*:*:*:*:*:*:* |
= 6.0.28 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.29:*:*:*:*:*:*:* |
= 6.0.29 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.30:*:*:*:*:*:*:* |
= 6.0.30 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.32:*:*:*:*:*:*:* |
= 6.0.32 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.33:*:*:*:*:*:*:* |
= 6.0.33 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.35:*:*:*:*:*:*:* |
= 6.0.35 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.36:*:*:*:*:*:*:* |
= 6.0.36 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.37:*:*:*:*:*:*:* |
= 6.0.37 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.39:*:*:*:*:*:*:* |
= 6.0.39 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.41:*:*:*:*:*:*:* |
= 6.0.41 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.43:*:*:*:*:*:*:* |
= 6.0.43 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:6.0.44:*:*:*:*:*:*:* |
= 6.0.44 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.0:beta:*:*:*:*:*:* |
= 7.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.2:beta:*:*:*:*:*:* |
= 7.0.2 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.4:beta:*:*:*:*:*:* |
= 7.0.4 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.5:beta:*:*:*:*:*:* |
= 7.0.5 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.6:*:*:*:*:*:*:* |
= 7.0.6 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.10:*:*:*:*:*:*:* |
= 7.0.10 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.11:*:*:*:*:*:*:* |
= 7.0.11 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.12:*:*:*:*:*:*:* |
= 7.0.12 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.14:*:*:*:*:*:*:* |
= 7.0.14 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.16:*:*:*:*:*:*:* |
= 7.0.16 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.19:*:*:*:*:*:*:* |
= 7.0.19 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.20:*:*:*:*:*:*:* |
= 7.0.20 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.21:*:*:*:*:*:*:* |
= 7.0.21 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.22:*:*:*:*:*:*:* |
= 7.0.22 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.23:*:*:*:*:*:*:* |
= 7.0.23 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.25:*:*:*:*:*:*:* |
= 7.0.25 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.26:*:*:*:*:*:*:* |
= 7.0.26 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.27:*:*:*:*:*:*:* |
= 7.0.27 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.28:*:*:*:*:*:*:* |
= 7.0.28 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.29:*:*:*:*:*:*:* |
= 7.0.29 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.30:*:*:*:*:*:*:* |
= 7.0.30 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.32:*:*:*:*:*:*:* |
= 7.0.32 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.33:*:*:*:*:*:*:* |
= 7.0.33 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.34:*:*:*:*:*:*:* |
= 7.0.34 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.35:*:*:*:*:*:*:* |
= 7.0.35 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.37:*:*:*:*:*:*:* |
= 7.0.37 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.39:*:*:*:*:*:*:* |
= 7.0.39 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.40:*:*:*:*:*:*:* |
= 7.0.40 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.41:*:*:*:*:*:*:* |
= 7.0.41 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.42:*:*:*:*:*:*:* |
= 7.0.42 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.47:*:*:*:*:*:*:* |
= 7.0.47 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.50:*:*:*:*:*:*:* |
= 7.0.50 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.52:*:*:*:*:*:*:* |
= 7.0.52 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.53:*:*:*:*:*:*:* |
= 7.0.53 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.54:*:*:*:*:*:*:* |
= 7.0.54 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.55:*:*:*:*:*:*:* |
= 7.0.55 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.56:*:*:*:*:*:*:* |
= 7.0.56 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.57:*:*:*:*:*:*:* |
= 7.0.57 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.59:*:*:*:*:*:*:* |
= 7.0.59 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.61:*:*:*:*:*:*:* |
= 7.0.61 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.62:*:*:*:*:*:*:* |
= 7.0.62 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.63:*:*:*:*:*:*:* |
= 7.0.63 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:7.0.64:*:*:*:*:*:*:* |
= 7.0.64 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.0:rc1:*:*:*:*:*:* |
= 8.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.0:rc10:*:*:*:*:*:* |
= 8.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.0:rc3:*:*:*:*:*:* |
= 8.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.0:rc5:*:*:*:*:*:* |
= 8.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.1:*:*:*:*:*:*:* |
= 8.0.1 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.11:*:*:*:*:*:*:* |
= 8.0.11 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.12:*:*:*:*:*:*:* |
= 8.0.12 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.14:*:*:*:*:*:*:* |
= 8.0.14 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.15:*:*:*:*:*:*:* |
= 8.0.15 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.17:*:*:*:*:*:*:* |
= 8.0.17 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.18:*:*:*:*:*:*:* |
= 8.0.18 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.20:*:*:*:*:*:*:* |
= 8.0.20 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.21:*:*:*:*:*:*:* |
= 8.0.21 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.22:*:*:*:*:*:*:* |
= 8.0.22 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.23:*:*:*:*:*:*:* |
= 8.0.23 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.24:*:*:*:*:*:*:* |
= 8.0.24 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.0.26:*:*:*:*:*:*:* |
= 8.0.26 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* |
= 15.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| OSV | Maven | org.apache.tomcat:tomcat | >= 8.0.0-RC1, < 8.0.27 | 8.0.27 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 7.0.0, < 7.0.65 | 7.0.65 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 6.0.0, < 6.0.45 | 6.0.45 |
References
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00047.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00069.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00082.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00085.html · WEB
- http://marc.info/?l=bugtraq&m=145974991225029&w=2 · WEB
- http://packetstormsecurity.com/files/135883/Apache-Tomcat-Limited-Directory-Traversal.html · WEB
- http://rhn.redhat.com/errata/RHSA-2016-1435.html · WEB
- http://rhn.redhat.com/errata/RHSA-2016-2045.html · WEB
- http://rhn.redhat.com/errata/RHSA-2016-2599.html · WEB
- http://seclists.org/bugtraq/2016/Feb/149 · WEB
- http://svn.apache.org/viewvc?view=revision&revision=1696281 · WEB
- http://svn.apache.org/viewvc?view=revision&revision=1696284 · WEB
- http://svn.apache.org/viewvc?view=revision&revision=1700897 · WEB
- http://svn.apache.org/viewvc?view=revision&revision=1700898 · WEB
- http://svn.apache.org/viewvc?view=revision&revision=1700900 · WEB
- http://tomcat.apache.org/security-6.html · Vendor Advisory, WEB
- http://tomcat.apache.org/security-7.html · Vendor Advisory, WEB
- http://tomcat.apache.org/security-8.html · Vendor Advisory, WEB
- http://www.debian.org/security/2016/dsa-3530 · WEB
- http://www.debian.org/security/2016/dsa-3552 · WEB
- http://www.debian.org/security/2016/dsa-3609 · WEB
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html · WEB
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html · WEB
- http://www.securityfocus.com/bid/83329
- http://www.securitytracker.com/id/1035070
- http://www.ubuntu.com/usn/USN-3024-1 · WEB
- https://access.redhat.com/errata/RHSA-2016:1432 · WEB
- https://access.redhat.com/errata/RHSA-2016:1433 · WEB
- https://access.redhat.com/errata/RHSA-2016:1434 · WEB
- https://bto.bluecoat.com/security-advisory/sa118
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05054964 · WEB
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442 · WEB
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158626 · WEB
- https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r0b24f2c7507f702348e2c2d64e8a5de72bad6173658e8d8e45322ac2%40%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r15695e6203b026c9e9070ca9fa95fb17dd4cd88e5342a7dc5e1e7b85%40%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r1c62634b7426bee5f553307063457b99c84af73b078ede4f2592b34e%40%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r409efdf706c2077ae5c37018a87da725a3ca89570a9530342cdc53e4%40%3Cusers.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rd4863c79bf729aabb95571fd845a9ea4ee3ae3fcee48f35aba007350%40%3Cusers.tomcat.apache.org%3E
- https://security.gentoo.org/glsa/201705-09 · WEB
- https://security.netapp.com/advisory/ntap-20180531-0001/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-5174 · ADVISORY
- https://lists.apache.org/thread.html/rd4863c79bf729aabb95571fd845a9ea4ee3ae3fcee48f35aba007350@%3Cusers.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%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/r409efdf706c2077ae5c37018a87da725a3ca89570a9530342cdc53e4@%3Cusers.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r1c62634b7426bee5f553307063457b99c84af73b078ede4f2592b34e@%3Cusers.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r15695e6203b026c9e9070ca9fa95fb17dd4cd88e5342a7dc5e1e7b85@%3Cusers.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r0b24f2c7507f702348e2c2d64e8a5de72bad6173658e8d8e45322ac2@%3Cusers.tomcat.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c@%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/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95@%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/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113@%3Cdev.tomcat.apache.org%3E · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 25 Feb 2016)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2022)