Information Disclosure Affecting org.apache.tomcat.embed:tomcat-embed-core package, versions [10.0.0-M1,10.0.0-M10) [9.0.0.M1,9.0.40) [8.5.0,8.5.60) [7.0.0,7.0.107)
Threat Intelligence
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 ID SNYK-JAVA-ORGAPACHETOMCATEMBED-1061939
- published 14 Jan 2021
- disclosed 14 Jan 2021
- credit Ilja Brander
Introduced: 14 Jan 2021
CVE-2021-24122 Open this link in a new tabHow to fix?
Upgrade org.apache.tomcat.embed:tomcat-embed-core
to version 10.0.0-M10, 9.0.40, 8.5.60, 7.0.107 or higher.
Overview
org.apache.tomcat.embed:tomcat-embed-core is a Core Tomcat implementation.
Affected versions of this package are vulnerable to Information Disclosure. When serving resources from a network location using the NTFS file system, affected versions 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.