Directory Traversal Affecting tomcat package, versions [,6.0.45)[7.0.0, 7.0.65)[8.0.0, 8.0.27)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TOMCAT-2382464
  • published26 Jan 2022
  • disclosed25 Feb 2016
  • creditUnknown

Introduced: 25 Feb 2016

CVE-2015-5174  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade tomcat to version 6.0.45, 7.0.65, 8.0.27 or higher.

Overview

Affected versions of this package are vulnerable to Directory Traversal. 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.

CVSS Scores

version 3.1