CVEfocus › CVE database › CVE-2015-5174

CVE-2015-5174

CVSS 4.3 MediumEPSS 12.6% (higher than 96% of CVEs)Published 2016-02-25Updated 2026-10-14Assigner: redhat

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.

What to do

Likely to be exploited: EPSS gives a 13% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Maven, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fixed
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04tomcat6Not affected
vulnerable_code_not_present
Ubuntu 16.04tomcat7Not affected
vulnerable_code_not_present
Ubuntu 16.04tomcat8Not affected
vulnerable_code_not_present
Ubuntu 14.04tomcat6Fixed6.0.39-1ubuntu0.1UBUNTU-CVE-2015-5174
Ubuntu 14.04tomcat7Fixed7.0.52-1ubuntu0.6UBUNTU-CVE-2015-5174
Red Hat Enterprise Linux 7tomcatFixed0:7.0.69-10.el7RHSA-2016:2599
Red Hat Enterprise Linux 7tomcat-admin-webappsFixed0:7.0.69-10.el7RHSA-2016:2599
Red Hat Enterprise Linux 7tomcat-docs-webappFixed0:7.0.69-10.el7RHSA-2016:2599
Red Hat Enterprise Linux 7tomcat-el-2.2-apiFixed0:7.0.69-10.el7RHSA-2016:2599
Red Hat Enterprise Linux 7tomcat-javadocFixed0:7.0.69-10.el7RHSA-2016:2599
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiFixed0:7.0.69-10.el7RHSA-2016:2599
Red Hat Enterprise Linux 7tomcat-jsvcFixed0:7.0.69-10.el7RHSA-2016:2599
Red Hat Enterprise Linux 7tomcat-libFixed0:7.0.69-10.el7RHSA-2016:2599
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiFixed0:7.0.69-10.el7RHSA-2016:2599
Red Hat Enterprise Linux 7tomcat-webappsFixed0:7.0.69-10.el7RHSA-2016:2599
Red Hat Enterprise Linux 6tomcat6Fixed0:6.0.24-98.el6_8RHSA-2016:2045
Red Hat Enterprise Linux 6tomcat6-admin-webappsFixed0:6.0.24-98.el6_8RHSA-2016:2045
Red Hat Enterprise Linux 6tomcat6-docs-webappFixed0:6.0.24-98.el6_8RHSA-2016:2045
Red Hat Enterprise Linux 6tomcat6-el-2.1-apiFixed0:6.0.24-98.el6_8RHSA-2016:2045
Red Hat Enterprise Linux 6tomcat6-javadocFixed0:6.0.24-98.el6_8RHSA-2016:2045
Red Hat Enterprise Linux 6tomcat6-jsp-2.1-apiFixed0:6.0.24-98.el6_8RHSA-2016:2045
Red Hat Enterprise Linux 6tomcat6-libFixed0:6.0.24-98.el6_8RHSA-2016:2045
Red Hat Enterprise Linux 6tomcat6-servlet-2.5-apiFixed0:6.0.24-98.el6_8RHSA-2016:2045
Red Hat Enterprise Linux 6tomcat6-webappsFixed0:6.0.24-98.el6_8RHSA-2016:2045
Maven libraryorg.apache.tomcat:tomcatFixed7.0.65GHSA-6qr6-x7jm-x2q6

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.