CVE-2021-24122

Medium

Description

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductApache Tomcat
PublishedJan 14, 2021
First seenJan 14, 2021

How to fix

Update
  • org.apache.tomcat.embed:tomcat-embed-core10.0.0-M10, 9.0.40, 8.5.60, 7.0.107 or later

Affected products

ProductAffected versionsFixed in
apache tomcat7.0.0 ≤ v ≤ 7.0.106, 8.5.0 ≤ v ≤ 8.5.59, 9.0.1 ≤ v ≤ 9.0.39, 9.0.0, 10.0.0—
debian debian_linux9.0—
oracle agile_product_lifecycle_management9.3.3, 9.3.6—
org.apache.tomcat.embed:tomcat-embed-coreMaven10.0.0-M1 ≤ v < 10.0.0-M10, 9.0.0 ≤ v < 9.0.40, 8.5.0 ≤ v < 8.5.60, 7.0.0 ≤ v < 7.0.10710.0.0-M10, 9.0.40, 8.5.60, 7.0.107

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-24122 · Apache Tomcat · Dark Radar