Skip to content
Fencer Intel
medium 4.3

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 jbossweb
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Data Grid 6 jbossweb jbossweb
    affected: 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 jbossweb
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Operations Network 3 jbossweb jbossweb Red Hat JBoss Portal 6 jbossweb jbossweb
    affected: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: vendor fix RHSA-2016:2045
show 8 more
  • 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.el7
    fixed: vendor fix RHSA-2016:2599
  • Red Hat JBoss Enterprise Application Platform 6.4
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: vendor fix RHBA-2016:0090
  • Red Hat JBoss Web Server 3.0
    fixed: 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 more
    fixed: 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 more
    fixed: 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

Sources

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.