Information Exposure Affecting tomcat package, versions [7.0.0,7.0.107)[8.5.0,8.5.60)[9.0.1,9.0.40)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.29% (69th 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 IDSNYK-UNMANAGED-TOMCAT-2382324
  • published26 Jan 2022
  • disclosed14 Jan 2021
  • creditUnknown

Introduced: 14 Jan 2021

CVE-2021-24122  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade tomcat to version 7.0.107, 8.5.60, 9.0.40 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure. When serving resources from a network location using the NTFS file system, Apache Tomcat versions 10.0.0-M1 to 10.0.0-M9, 9.0.0.M1 to 9.0.39, 8.5.0 to 8.5.59 and 7.0.0 to 7.0.106 were susceptible to JSP source code disclosure in some configurations. The root cause was the unexpected behaviour of the JRE API File.getCanonicalPath() which in turn was caused by the inconsistent behaviour of the Windows API (FindFirstFileW) in some circumstances.

CVSS Scores

version 3.1