CVE-2015-5174 json
Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat
published 2016-02-25 10 y ago modified 2026-10-14 25 d ago also GHSA-6qr6-x7jm-x2q6 , EUVD-2022-2849
- cvss
- 4.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.6%
- EPSS 12.6% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.tomcat:tomcat 6.0.45, 7.0.65, 8.0.27
- tomcat6 Ubuntu 14.04 LTS 6.0.39-1ubuntu0.1
- tomcat7 Ubuntu 14.04 LTS 7.0.52-1ubuntu0.6
ubuntu advisories UBUNTU-CVE-2015-5174
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- jboss-ec2-eap jboss enterprise application platform 6 7.5.9-2.Final_redhat_2.ep6.el6
- jboss-ec2-eap-samples jboss enterprise application platform 6 7.5.9-2.Final_redhat_2.ep6.el6
- hornetq jboss enterprise application platform 6 2.3.25-13.SP11_redhat_1.1.ep6.el7
- jbossts jboss enterprise application platform 6 1:4.17.34-1.Final_redhat_1.1.ep6.el7
- jbossweb jboss enterprise application platform 6 7.5.17-1.Final_redhat_1.1.ep6.el7
- jboss-msc jboss enterprise application platform 6 1.1.6-1.Final_redhat_1.1.ep6.el7
- apache-cxf jboss enterprise application platform 6 2.7.18-2.SP1_redhat_1.1.ep6.el7
- jboss-as-ee jboss enterprise application platform 6 7.5.9-2.Final_redhat_2.1.ep6.el7
red hat advisories RHSA-2016:1432RHSA-2016:1434RHSA-2016:1433RHSA-2016:2599RHSA-2016:2045RHSA-2015:2660
- tomcat6 SLES for SAP 11 SP4, SLES 11 SP4 6.0.45-0.50.1
- tomcat SLES for SAP 12, SLES 12 7.0.68-7.6.1
- tomcat SLES for SAP 12 SP1, SLES 12 SP1 8.0.32-3.1
suse advisories SUSE-SU-2016:0839-1SUSE-SU-2016:0822-1SUSE-SU-2016:0769-1
- tomcat openSUSE Tumbleweed 8.0.36-3.3
- tomcat10 openSUSE Tumbleweed 10.1.14-1.1
opensuse advisories openSUSE-SU-2024:10446-1openSUSE-SU-2024:13441-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-5174 updated cvss 4.3
tomcat: URL Normalization issue
-
Red Hat JBoss BRMS 5 jbossweb jbosswebaffected: no fix planned “Will not fix”
-
Red Hat JBoss Data Grid 6 jbossweb jbosswebaffected: no fix available
-
Red Hat JBoss Enterprise Application Platform 4 jbossweb jbossweb Red Hat JBoss Enterprise Application Platform 5 jbossweb jbossweb Red Hat JBoss Enterprise Web Server 2 tomcat6, tomcat6-lib, tomcat6-log4j, tomcat6-javadoc, tomcat6-webapps, tomcat6-el-1.0-api, +5 more Red Hat JBoss Fuse Service Works 6 jbossweb jbosswebaffected: no fix planned “Will not fix”
-
Red Hat JBoss Operations Network 3 jbossweb jbossweb Red Hat JBoss Portal 6 jbossweb jbosswebaffected: no fix available
-
Red Hat Enterprise Linux Client (v. 7) tomcat 7.0.69-10.el7, tomcat-servlet-3.0-api 7.0.69-10.el7 Red Hat Enterprise Linux Client Optional (v. 7) tomcat 7.0.69-10.el7, tomcat-lib 7.0.69-10.el7, tomcat-jsvc 7.0.69-10.el7, tomcat-javadoc 7.0.69-10.el7, tomcat-webapps 7.0.69-10.el7, tomcat-el-2.2-api 7.0.69-10.el7, +3 more Red Hat Enterprise Linux ComputeNode (v. 7) tomcat 7.0.69-10.el7, tomcat-servlet-3.0-api 7.0.69-10.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) tomcat 7.0.69-10.el7, tomcat-lib 7.0.69-10.el7, tomcat-jsvc 7.0.69-10.el7, tomcat-javadoc 7.0.69-10.el7, tomcat-webapps 7.0.69-10.el7, tomcat-el-2.2-api 7.0.69-10.el7, +3 morefixed: vendor fix RHSA-2016:2599
-
Red Hat Enterprise Linux Desktop (v. 6) tomcat6 6.0.24-98.el6_8, tomcat6-lib 6.0.24-98.el6_8, tomcat6-javadoc 6.0.24-98.el6_8, tomcat6-webapps 6.0.24-98.el6_8, tomcat6-el-2.1-api 6.0.24-98.el6_8, tomcat6-docs-webapp 6.0.24-98.el6_8, +3 more Red Hat Enterprise Linux HPC Node (v. 6) tomcat6 6.0.24-98.el6_8, tomcat6-lib 6.0.24-98.el6_8, tomcat6-javadoc 6.0.24-98.el6_8, tomcat6-webapps 6.0.24-98.el6_8, tomcat6-el-2.1-api 6.0.24-98.el6_8, tomcat6-docs-webapp 6.0.24-98.el6_8, +3 more Red Hat Enterprise Linux Server (v. 6) tomcat6 6.0.24-98.el6_8, tomcat6-lib 6.0.24-98.el6_8, tomcat6-javadoc 6.0.24-98.el6_8, tomcat6-webapps 6.0.24-98.el6_8, tomcat6-el-2.1-api 6.0.24-98.el6_8, tomcat6-docs-webapp 6.0.24-98.el6_8, +3 morefixed: vendor fix RHSA-2016:2045
-
Red Hat Enterprise Linux Server (v. 7) tomcat 7.0.69-10.el7, tomcat-lib 7.0.69-10.el7, tomcat-webapps 7.0.69-10.el7, tomcat-el-2.2-api 7.0.69-10.el7, tomcat-jsp-2.2-api 7.0.69-10.el7, tomcat-admin-webapps 7.0.69-10.el7, +1 more Red Hat Enterprise Linux Server Optional (v. 7) tomcat 7.0.69-10.el7, tomcat-lib 7.0.69-10.el7, tomcat-jsvc 7.0.69-10.el7, tomcat-javadoc 7.0.69-10.el7, tomcat-webapps 7.0.69-10.el7, tomcat-el-2.2-api 7.0.69-10.el7, +3 morefixed: vendor fix RHSA-2016:2599
-
Red Hat Enterprise Linux Workstation (v. 6) tomcat6 6.0.24-98.el6_8, tomcat6-lib 6.0.24-98.el6_8, tomcat6-javadoc 6.0.24-98.el6_8, tomcat6-webapps 6.0.24-98.el6_8, tomcat6-el-2.1-api 6.0.24-98.el6_8, tomcat6-docs-webapp 6.0.24-98.el6_8, +3 morefixed: vendor fix RHSA-2016:2045
show 8 moreshow fewer
-
Red Hat Enterprise Linux Workstation (v. 7) tomcat 7.0.69-10.el7, tomcat-lib 7.0.69-10.el7, tomcat-webapps 7.0.69-10.el7, tomcat-el-2.2-api 7.0.69-10.el7, tomcat-jsp-2.2-api 7.0.69-10.el7, tomcat-admin-webapps 7.0.69-10.el7, +1 more Red Hat Enterprise Linux Workstation Optional (v. 7) tomcat-jsvc 7.0.69-10.el7, tomcat-javadoc 7.0.69-10.el7, tomcat-docs-webapp 7.0.69-10.el7fixed: vendor fix RHSA-2016:2599
-
Red Hat JBoss Enterprise Application Platform 6.4fixed: vendor fix RHSA-2016:1435
-
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6 Server hornetq 2.3.25-13.SP11_redhat_1.1.ep6.el6, apache-cxf 2.7.18-2.SP1_redhat_1.1.ep6.el6, jboss-msc 1.1.6-1.Final_redhat_1.1.ep6.el6, jbossts 4.17.34-1.Final_redhat_1.1.ep6.el6, jbossweb 7.5.17-1.Final_redhat_1.1.ep6.el6, xalan-j2-eap6 2.7.1-11.redhat_11.1.ep6.el6, +70 morefixed: vendor fix RHSA-2016:1433
-
Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7 Server hornetq 2.3.25-13.SP11_redhat_1.1.ep6.el7, apache-cxf 2.7.18-2.SP1_redhat_1.1.ep6.el7, jboss-msc 1.1.6-1.Final_redhat_1.1.ep6.el7, jbossts 4.17.34-1.Final_redhat_1.1.ep6.el7, jbossweb 7.5.17-1.Final_redhat_1.1.ep6.el7, xalan-j2-eap6 2.7.1-11.redhat_11.1.ep6.el7, +68 morefixed: vendor fix RHSA-2016:1434
-
Red Hat JBoss Enterprise Web Server 2 for RHEL 5 Server tomcat7 7.0.54-21_patch_05.ep6.el5, tomcat7-lib 7.0.54-21_patch_05.ep6.el5, tomcat7-log4j 7.0.54-21_patch_05.ep6.el5, tomcat7-javadoc 7.0.54-21_patch_05.ep6.el5, tomcat7-webapps 7.0.54-21_patch_05.ep6.el5, tomcat7-el-2.2-api 7.0.54-21_patch_05.ep6.el5, +4 more Red Hat JBoss Enterprise Web Server 2 for RHEL 6 Server tomcat7 7.0.54-21_patch_05.ep6.el6, tomcat7-lib 7.0.54-21_patch_05.ep6.el6, tomcat7-log4j 7.0.54-21_patch_05.ep6.el6, tomcat7-javadoc 7.0.54-21_patch_05.ep6.el6, tomcat7-webapps 7.0.54-21_patch_05.ep6.el6, tomcat7-el-2.2-api 7.0.54-21_patch_05.ep6.el6, +4 more Red Hat JBoss Enterprise Web Server 2 for RHEL 7 Server tomcat7 7.0.54-21_patch_05.ep6.el7, tomcat7-lib 7.0.54-21_patch_05.ep6.el7, tomcat7-log4j 7.0.54-21_patch_05.ep6.el7, tomcat7-javadoc 7.0.54-21_patch_05.ep6.el7, tomcat7-webapps 7.0.54-21_patch_05.ep6.el7, tomcat7-el-2.2-api 7.0.54-21_patch_05.ep6.el7, +4 morefixed: vendor fix RHBA-2016:0090
-
Red Hat JBoss Web Server 3.0fixed: vendor fix RHSA-2015:2661
-
Red Hat JBoss Web Server 3.0 for RHEL 6 httpd24 2.4.6-59.ep7.el6, mod_bmx 0.9.5-7.GA.ep7.el6, mod_ssl24 2.4.6-59.ep7.el6, mod_ldap24 2.4.6-59.ep7.el6, httpd24-tools 2.4.6-59.ep7.el6, mod_session24 2.4.6-59.ep7.el6, +26 morefixed: vendor fix RHSA-2015:2659
-
Red Hat JBoss Web Server 3.0 for RHEL 7 httpd24 2.4.6-59.ep7.el7, mod_bmx 0.9.5-7.GA.ep7.el7, mod_ssl24 2.4.6-59.ep7.el7, mod_ldap24 2.4.6-59.ep7.el7, httpd24-tools 2.4.6-59.ep7.el7, mod_session24 2.4.6-59.ep7.el7, +26 morefixed: vendor fix RHSA-2015:2660
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 25 d ago
Exploit prediction
12.55% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat | >=8.0.0-RC1, <8.0.27 >=7.0.0, <7.0.65 >=6.0.0, <6.0.45 |
8.0.27 7.0.65 6.0.45 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
security.gentoo.org
/glsa/201705-09
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2016-03/msg00085.html
vendor-advisory, web
-
ubuntu.com
/usn/USN-3024-1
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-03/msg00047.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2016-2045.html
vendor-advisory, web
-
debian.org
/security/2016/dsa-3530
vendor-advisory, web
-
marc.info
/?l=bugtraq&m=145974991225029&w=2
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2016:1434
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2016:1433
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2016:1432
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2016-03/msg00069.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2016-2599.html
vendor-advisory, web
-
debian.org
/security/2016/dsa-3609
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-03/msg00082.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2016-1435.html
vendor-advisory, web
-
debian.org
/security/2016/dsa-3552
vendor-advisory
-
tomcat.apache.org
/security-7.html
web, vendor-advisory
-
tomcat.apache.org
/security-8.html
web, vendor-advisory
-
tomcat.apache.org
/security-6.html
web, vendor-advisory
-
h20566.www2.hpe.com
/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05054964
web
- oracle.com /technetwork/security-advisory/cpujul2018-4258247.html
-
svn.apache.org
/viewvc?view=revision&revision=1700900
web
- oracle.com /technetwork/topics/security/linuxbulletinoct2016-3090545.html
-
svn.apache.org
/viewvc?view=revision&revision=1696284
web
-
svn.apache.org
/viewvc?view=revision&revision=1700898
web
-
securitytracker.com
/id/1035070
vdb-entry
- bto.bluecoat.com /security-advisory/sa118
-
h20566.www2.hpe.com
/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442
web
- security.netapp.com /advisory/ntap-20180531-0001/
-
securityfocus.com
/bid/83329
vdb-entry
-
seclists.org
/bugtraq/2016/Feb/149
mailing-list, web
-
packetstormsecurity.com
/files/135883/Apache-Tomcat-Limited-Directory-Traversal.html
web
-
svn.apache.org
/viewvc?view=revision&revision=1696281
web
-
svn.apache.org
/viewvc?view=revision&revision=1700897
web
-
h20566.www2.hpe.com
/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158626
web
-
lists.apache.org
/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rd4863c79bf729aabb95571fd845a9ea4ee3ae3fcee48f35aba007350%40%3Cusers.tomcat.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2015-5174
advisory
-
security.netapp.com
/advisory/ntap-20180531-0001
web
-
lists.apache.org
/thread.html/rd4863c79bf729aabb95571fd845a9ea4ee3ae3fcee48f35aba007350@%3Cusers.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r409efdf706c2077ae5c37018a87da725a3ca89570a9530342cdc53e4@%3Cusers.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r1c62634b7426bee5f553307063457b99c84af73b078ede4f2592b34e@%3Cusers.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r15695e6203b026c9e9070ca9fa95fb17dd4cd88e5342a7dc5e1e7b85@%3Cusers.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r0b24f2c7507f702348e2c2d64e8a5de72bad6173658e8d8e45322ac2@%3Cusers.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113@%3Cdev.tomcat.apache.org%3E
web
- lists.apache.org /thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org /thread.html/r0b24f2c7507f702348e2c2d64e8a5de72bad6173658e8d8e45322ac2%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org /thread.html/r15695e6203b026c9e9070ca9fa95fb17dd4cd88e5342a7dc5e1e7b85%40%3Cusers.tomcat.apache.org%3E
Sources
- CVE List CVE-2015-5174
- GitHub Advisory GHSA-6qr6-x7jm-x2q6
- NVD CVE-2015-5174
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.