CVE-2015-5345
Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat
Reported by redhat · Published February 25, 2016
tomcat is fixed in 9.0.0.M2, 9.0.0.M1, 8.0.30 and 2 more (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat | Maven Central | 9.0.0.M2, 9.0.0.M1, 8.0.30, 7.0.68, 6.0.45 |
| tomcat6 | Ubuntu:16.04:LTS | 6.0.45+dfsg-1 |
| tomcat9 | Ubuntu:18.04:LTS | 9.0.16-3~18.04.1 |
| tomcat6 | Ubuntu:14.04:LTS | 6.0.39-1ubuntu0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Maven | org.apache.tomcat:tomcat | 9.0.0.M1, 9.0.0.M1, 8.0.0-RC1 |
| n/a | n/a | * |
Timeline
- Feb 24, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 PoC Published
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (7 in total, the first dated here)
- Mar 5, 2026 Security Advisory (12 in total, the first dated here)
- Oct 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-5345
vulnetix vdb fixes CVE-2015-5345
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-5345/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- GLSA-201705-09 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- openSUSE-SU-2016:0865 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_MISC
- USN-3024-1 vendor-advisoryx_refsource_UBUNTU
- SUSE-SU-2016:0769 vendor-advisoryx_refsource_SUSE
- RHSA-2016:2045 vendor-advisoryx_refsource_REDHAT
- DSA-3530 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- HPSBUX03561 vendor-advisoryx_refsource_HP
- RHSA-2016:1089 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- x_refsource_MISC
…and 55 more