Skip to content
Fencer Intel
medium 5.3

CVE-2015-5345 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-rh8q-vjgf-gf74 , EUVD-2022-5174

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
18.4%
EPSS 18.4% chance of exploitation in 30 days, percentile 97%
public exploits
0
none known

Summary

The Mapper component in Apache Tomcat 6.x before 6.0.45, 7.x before 7.0.68, 8.x before 8.0.30, and 9.x before 9.0.0.M2 processes redirects before considering security constraints and Filters, which allows remote attackers to determine the existence of a directory via a URL that lacks a trailing / (slash) character.

Patch / fix

  • maven org.apache.tomcat:tomcat 6.0.45, 7.0.68, 8.0.30, 9.0.0.M2
  • tomcat6 Ubuntu 14.04 LTS 6.0.39-1ubuntu0.1
  • tomcat6 Ubuntu 16.04 LTS 6.0.45+dfsg-1
  • tomcat7 Ubuntu 14.04 LTS 7.0.52-1ubuntu0.6
  • tomcat9 Ubuntu 18.04 LTS 9.0.16-3~18.04.1

ubuntu advisories UBUNTU-CVE-2015-5345

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

  • tomcat RHEL 7 7.0.69-10.el7
  • tomcat-lib RHEL 7 7.0.69-10.el7
  • tomcat-jsvc RHEL 7 7.0.69-10.el7
  • tomcat-javadoc RHEL 7 7.0.69-10.el7
  • tomcat-webapps RHEL 7 7.0.69-10.el7
  • tomcat-el-2.2-api RHEL 7 7.0.69-10.el7
  • tomcat-docs-webapp RHEL 7 7.0.69-10.el7
  • tomcat-jsp-2.2-api RHEL 7 7.0.69-10.el7

red hat advisories RHSA-2016:2599RHSA-2016:2045RHSA-2016:1088RHSA-2016:1087

  • 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-5345 updated cvss 5.3

tomcat: directory disclosure

  • 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 Application Platform 6 jbossweb jbossweb
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Enterprise Web Server 2 tomcat7 tomcat7
    affected: no fix available
  • 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
show 6 more
  • 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
  • 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 Web Server 3.0
    fixed: vendor fix RHSA-2016:1089
  • Red Hat JBoss Web Server 3.0 for RHEL 6 httpd24 2.4.6-61.ep7.el6, mod_ssl24 2.4.6-61.ep7.el6, mod_ldap24 2.4.6-61.ep7.el6, httpd24-tools 2.4.6-61.ep7.el6, mod_session24 2.4.6-61.ep7.el6, httpd24-manual 2.4.6-61.ep7.el6, +22 more
    fixed: vendor fix RHSA-2016:1087
  • Red Hat JBoss Web Server 3.0 for RHEL 7 httpd24 2.4.6-61.ep7.el7, mod_ssl24 2.4.6-61.ep7.el7, mod_ldap24 2.4.6-61.ep7.el7, httpd24-tools 2.4.6-61.ep7.el7, mod_session24 2.4.6-61.ep7.el7, httpd24-manual 2.4.6-61.ep7.el7, +22 more
    fixed: vendor fix RHSA-2016:1088

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
yes
Technical impact
partial
Assessed
17 mo ago

Exploit prediction

18.38% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 3.0 5.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub 3.0 5.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.tomcat:tomcat
>=9.0.0.M1, <9.0.0.M2
>=8.0.0-RC1, <8.0.30
>=7.0.0, <7.0.68
>=6.0.0, <6.0.45
9.0.0.M2
8.0.30
7.0.68
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.