---
id: CVE-2015-5345
title: >-
  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 th…
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 th…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-22
  - CWE-22
vendor: apache
product: tomcat
affected:
  - debian_linux = 7.0
  - debian_linux = 8.0
  - tomcat = 6.0.0
  - tomcat = 6.0.1
  - tomcat = 6.0.2
  - tomcat = 6.0.4
  - tomcat = 6.0.10
  - tomcat = 6.0.11
  - tomcat = 6.0.13
  - tomcat = 6.0.14
  - tomcat = 6.0.16
  - tomcat = 6.0.18
  - tomcat = 6.0.20
  - tomcat = 6.0.24
  - tomcat = 6.0.26
  - tomcat = 6.0.28
  - tomcat = 6.0.29
  - tomcat = 6.0.30
  - tomcat = 6.0.32
  - tomcat = 6.0.33
  - tomcat = 6.0.35
  - tomcat = 6.0.36
  - tomcat = 6.0.37
  - tomcat = 6.0.39
  - tomcat = 6.0.41
  - tomcat = 6.0.43
  - tomcat = 6.0.44
  - tomcat = 7.0.0
  - tomcat = 7.0.2
  - tomcat = 7.0.4
  - tomcat = 7.0.5
  - tomcat = 7.0.6
  - tomcat = 7.0.10
  - tomcat = 7.0.11
  - tomcat = 7.0.12
  - tomcat = 7.0.14
  - tomcat = 7.0.16
  - tomcat = 7.0.19
  - tomcat = 7.0.20
  - tomcat = 7.0.21
  - tomcat = 7.0.22
  - tomcat = 7.0.23
  - tomcat = 7.0.25
  - tomcat = 7.0.26
  - tomcat = 7.0.27
  - tomcat = 7.0.28
  - tomcat = 7.0.29
  - tomcat = 7.0.30
  - tomcat = 7.0.32
  - tomcat = 7.0.33
  - tomcat = 7.0.34
  - tomcat = 7.0.35
  - tomcat = 7.0.37
  - tomcat = 7.0.39
  - tomcat = 7.0.40
  - tomcat = 7.0.41
  - tomcat = 7.0.42
  - tomcat = 7.0.47
  - tomcat = 7.0.50
  - tomcat = 7.0.52
  - tomcat = 7.0.53
  - tomcat = 7.0.54
  - tomcat = 7.0.55
  - tomcat = 7.0.56
  - tomcat = 7.0.57
  - tomcat = 7.0.59
  - tomcat = 7.0.61
  - tomcat = 7.0.62
  - tomcat = 7.0.63
  - tomcat = 7.0.64
  - tomcat = 7.0.65
  - tomcat = 8.0.0
  - tomcat = 8.0.1
  - tomcat = 8.0.3
  - tomcat = 8.0.11
  - tomcat = 8.0.12
  - tomcat = 8.0.14
  - tomcat = 8.0.15
  - tomcat = 8.0.17
  - tomcat = 8.0.18
  - tomcat = 8.0.20
  - tomcat = 8.0.21
  - tomcat = 8.0.22
  - tomcat = 8.0.23
  - tomcat = 8.0.24
  - tomcat = 8.0.26
  - tomcat = 8.0.27
  - tomcat = 8.0.28
  - tomcat = 8.0.29
  - tomcat = 9.0.0
  - ubuntu_linux = 12.04
  - ubuntu_linux = 14.04
  - ubuntu_linux = 15.10
  - ubuntu_linux = 16.04
published: '2016-02-25'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T22:17:12.633'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2015-5345'
references:
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00047.html'
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00069.html'
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00082.html'
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00085.html'
    label: secalert@redhat.com
  - url: 'http://marc.info/?l=bugtraq&m=145974991225029&w=2'
    label: secalert@redhat.com
  - url: >-
      http://packetstormsecurity.com/files/135892/Apache-Tomcat-Directory-Disclosure.html
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-1089.html'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-2045.html'
    label: secalert@redhat.com
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-2599.html'
    label: secalert@redhat.com
  - url: 'http://seclists.org/bugtraq/2016/Feb/146'
    label: secalert@redhat.com
  - url: 'http://seclists.org/fulldisclosure/2016/Feb/122'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1715206'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1715207'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1715213'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1715216'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1716882'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1716894'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1717209'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1717212'
    label: secalert@redhat.com
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1717216'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-6.html'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-7.html'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-8.html'
    label: secalert@redhat.com
  - url: 'http://tomcat.apache.org/security-9.html'
    label: secalert@redhat.com
  - url: 'http://www.debian.org/security/2016/dsa-3530'
    label: secalert@redhat.com
  - url: 'http://www.debian.org/security/2016/dsa-3552'
    label: secalert@redhat.com
  - url: 'http://www.debian.org/security/2016/dsa-3609'
    label: secalert@redhat.com
  - url: >-
      http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
    label: secalert@redhat.com
  - url: >-
      http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
    label: secalert@redhat.com
  - url: >-
      http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
    label: secalert@redhat.com
  - url: 'http://www.qcsec.com/blog/CVE-2015-5345-apache-tomcat-vulnerability.html'
    label: secalert@redhat.com
  - url: 'http://www.securityfocus.com/bid/83328'
    label: secalert@redhat.com
  - url: 'http://www.securitytracker.com/id/1035071'
    label: secalert@redhat.com
  - url: 'http://www.ubuntu.com/usn/USN-3024-1'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2016:1087'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2016:1088'
    label: secalert@redhat.com
  - url: 'https://bto.bluecoat.com/security-advisory/sa118'
    label: secalert@redhat.com
  - url: 'https://bz.apache.org/bugzilla/show_bug.cgi?id=58765'
    label: secalert@redhat.com
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05054964
    label: secalert@redhat.com
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442
    label: secalert@redhat.com
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158626
    label: secalert@redhat.com
  - url: 'https://kc.mcafee.com/corporate/index?page=content&id=SB10156'
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: >-
      https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
    label: secalert@redhat.com
  - url: 'https://security.gentoo.org/glsa/201705-09'
    label: secalert@redhat.com
  - url: 'https://security.netapp.com/advisory/ntap-20180531-0001/'
    label: secalert@redhat.com
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00047.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00069.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00082.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00085.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://marc.info/?l=bugtraq&m=145974991225029&w=2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      http://packetstormsecurity.com/files/135892/Apache-Tomcat-Directory-Disclosure.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-1089.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-2045.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2016-2599.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/bugtraq/2016/Feb/146'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2016/Feb/122'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1715206'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1715207'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1715213'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1715216'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1716882'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1716894'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1717209'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1717212'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1717216'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-6.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-7.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-8.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-9.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.debian.org/security/2016/dsa-3530'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.debian.org/security/2016/dsa-3552'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.debian.org/security/2016/dsa-3609'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.qcsec.com/blog/CVE-2015-5345-apache-tomcat-vulnerability.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securityfocus.com/bid/83328'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securitytracker.com/id/1035071'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.ubuntu.com/usn/USN-3024-1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2016:1087'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2016:1088'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bto.bluecoat.com/security-advisory/sa118'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bz.apache.org/bugzilla/show_bug.cgi?id=58765'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05054964
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158626
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://kc.mcafee.com/corporate/index?page=content&id=SB10156'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/201705-09'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20180531-0001/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.1838
epssPercentile: 0.97191
ingestedAt: '2026-10-14T23:00:01.998Z'
---

## Overview

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

- `debian_linux = 7.0`
- `debian_linux = 8.0`
- `tomcat = 6.0.0`
- `tomcat = 6.0.1`
- `tomcat = 6.0.2`
- `tomcat = 6.0.4`
- `tomcat = 6.0.10`
- `tomcat = 6.0.11`
- `tomcat = 6.0.13`
- `tomcat = 6.0.14`
- `tomcat = 6.0.16`
- `tomcat = 6.0.18`
- `tomcat = 6.0.20`
- `tomcat = 6.0.24`
- `tomcat = 6.0.26`
- `tomcat = 6.0.28`
- `tomcat = 6.0.29`
- `tomcat = 6.0.30`
- `tomcat = 6.0.32`
- `tomcat = 6.0.33`
- `tomcat = 6.0.35`
- `tomcat = 6.0.36`
- `tomcat = 6.0.37`
- `tomcat = 6.0.39`
- `tomcat = 6.0.41`
- `tomcat = 6.0.43`
- `tomcat = 6.0.44`
- `tomcat = 7.0.0`
- `tomcat = 7.0.2`
- `tomcat = 7.0.4`
- `tomcat = 7.0.5`
- `tomcat = 7.0.6`
- `tomcat = 7.0.10`
- `tomcat = 7.0.11`
- `tomcat = 7.0.12`
- `tomcat = 7.0.14`
- `tomcat = 7.0.16`
- `tomcat = 7.0.19`
- `tomcat = 7.0.20`
- `tomcat = 7.0.21`
- `tomcat = 7.0.22`
- `tomcat = 7.0.23`
- `tomcat = 7.0.25`
- `tomcat = 7.0.26`
- `tomcat = 7.0.27`
- `tomcat = 7.0.28`
- `tomcat = 7.0.29`
- `tomcat = 7.0.30`
- `tomcat = 7.0.32`
- `tomcat = 7.0.33`
- `tomcat = 7.0.34`
- `tomcat = 7.0.35`
- `tomcat = 7.0.37`
- `tomcat = 7.0.39`
- `tomcat = 7.0.40`
- `tomcat = 7.0.41`
- `tomcat = 7.0.42`
- `tomcat = 7.0.47`
- `tomcat = 7.0.50`
- `tomcat = 7.0.52`
- `tomcat = 7.0.53`
- `tomcat = 7.0.54`
- `tomcat = 7.0.55`
- `tomcat = 7.0.56`
- `tomcat = 7.0.57`
- `tomcat = 7.0.59`
- `tomcat = 7.0.61`
- `tomcat = 7.0.62`
- `tomcat = 7.0.63`
- `tomcat = 7.0.64`
- `tomcat = 7.0.65`
- `tomcat = 8.0.0`
- `tomcat = 8.0.1`
- `tomcat = 8.0.3`
- `tomcat = 8.0.11`
- `tomcat = 8.0.12`
- `tomcat = 8.0.14`
- `tomcat = 8.0.15`
- `tomcat = 8.0.17`
- `tomcat = 8.0.18`
- `tomcat = 8.0.20`
- `tomcat = 8.0.21`
- `tomcat = 8.0.22`
- `tomcat = 8.0.23`
- `tomcat = 8.0.24`
- `tomcat = 8.0.26`
- `tomcat = 8.0.27`
- `tomcat = 8.0.28`
- `tomcat = 8.0.29`
- `tomcat = 9.0.0`
- `ubuntu_linux = 12.04`
- `ubuntu_linux = 14.04`
- `ubuntu_linux = 15.10`
- `ubuntu_linux = 16.04`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
