Directory Traversal Affecting tomcat8-lib package, versions <0:8.0.30-1.57.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.52% (77th 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-AMZN201803-TOMCAT8LIB-1693625
  • published27 Sept 2021
  • disclosed25 Feb 2016

Introduced: 25 Feb 2016

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

How to fix?

Upgrade Amazon-Linux:2018.03 tomcat8-lib to version 0:8.0.30-1.57.amzn1 or higher.
This issue was patched in ALAS-2016-658.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat8-lib package and not the tomcat8-lib package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

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.

References