NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2015-5345 — tomcat

MEDIUMFix: apache/tomcat80@c15c2ab

CVE-2015-5345 is a medium-severity (CVSS 5.3) Path Traversal vulnerability in org.apache.tomcat:tomcat. EPSS puts its 30-day exploitation probability at 18.4% (97th percentile). A fix is available for org.apache.tomcat:tomcat — see the affected versions and patch details below.

Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat

Published
Updated
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed
Exploitation data as of Oct 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2015-5345.

EPSS Exploitation Probability

via FIRST.org ↗
18.4%probability of exploitation in next 30 days
Moderate Risk0.00%
Lower risk than most CVEs97th percentile — riskier than 97% of all scored CVEsHighest risk
4.31%23.0%41.7%60.4%14.8%18.4%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

4 pkgs affected
☕org.apache.tomcat:tomcat☕org.apache.tomcat:tomcat☕org.apache.tomcat:tomcat☕org.apache.tomcat:tomcat

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.apache.tomcat:tomcat≥ 9.0.0.M1&&< 9.0.0.M29.0.0.M2org.apache.tomcat:tomcat:9.0.0.M2
☕Mavenorg.apache.tomcat:tomcat≥ 8.0.0-RC1&&< 8.0.308.0.30org.apache.tomcat:tomcat:8.0.30
☕Mavenorg.apache.tomcat:tomcat≥ 7.0.0&&< 7.0.687.0.68org.apache.tomcat:tomcat:7.0.68
☕Mavenorg.apache.tomcat:tomcat≥ 6.0.0&&< 6.0.456.0.45org.apache.tomcat:tomcat:6.0.45

Affected Products

3 products · 102 configurations
Application
tomcatapache
88 versions
6.0.06.0.16.0.26.0.46.0.106.0.116.0.136.0.146.0.166.0.186.0.206.0.24
OS
ubuntu linuxcanonical
4 versions
12.0414.0415.1016.04
OS
debian linuxdebian
2 versions
7.08.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.tomcat:tomcat, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.apache.tomcat:tomcat to 9.0.0.M2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2015-5345 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatLow
ProductFixed inAdvisory
Red Hat Enterprise Linux 6tomcat6-0:6.0.24-98.el6_8RHSA-2016:2045
Red Hat Enterprise Linux 7tomcat-0:7.0.69-10.el7RHSA-2016:2599
Red Hat JBoss Web Server 3.0tomcat7RHSA-2016:1089
Red Hat JBoss Web Server 3 for RHEL 6httpd24-0:2.4.6-61.ep7.el6RHSA-2016:1087
Red Hat JBoss Web Server 3 for RHEL 7httpd24-0:2.4.6-61.ep7.el7RHSA-2016:1088
UbuntuMEDIUM

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2015-5345 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2015-5345: tomcat — Fixed in 9.0.0.M2