CVE-2021-24122

Aliases:GHSA-2rvv-w9r2-rg7mBIT-tomcat-2021-24122
Modified
Published: 14 Jan 2021, 14:45
Last modified:13 Feb 2025, 16:27

Vulnerability Summary

Overall Risk (default)
medium
36/100
CVSS Score
5.9 MEDIUM
v3.1 (nvd)
EPSS Score
61.38% CRITICAL
61% probability +7.44%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

14 Jan 2021, 14:45
Published
Vulnerability first disclosed
13 Feb 2025, 16:27
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • v2.0MEDIUMScore: 4.3AV:N/AC:M/Au:N/C:P/I:N/A:N

EPSS Trends

Current EPSS score: 61.38% Percentile: 98%

Techniques & Countermeasures

  • CWE-200Exposure of Sensitive Information to an Unauthorized Actor

    The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

  • CWE-706Use of Incorrectly-Resolved Name or Reference

    The product uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere.

Affected Systems

  • apache software foundationapache tomcat

    ≥ Apache Tomcat 10, < 10.0.0-M10 | ≥ Apache Tomcat 9, < 9.0.40 | ≥ Apache Tomcat 8.5, < 8.5.60 | ≥ Apache Tomcat 7, < 7.0.106

  • UnknownTomcat

    ≥ 7.0.0, ≤ 7.0.106 | ≥ 8.5.0, ≤ 8.5.59 | ≥ 9.0.1, ≤ 9.0.39 | 9.0.0:milestone1 | 9.0.0:milestone10 | 9.0.0:milestone11 | 9.0.0:milestone12 | 9.0.0:milestone13 | 9.0.0:milestone14 | 9.0.0:milestone15 | 9.0.0:milestone16 | 9.0.0:milestone17 | 9.0.0:milestone18 | 9.0.0:milestone19 | 9.0.0:milestone2 | 9.0.0:milestone20 | 9.0.0:milestone21 | 9.0.0:milestone22 | 9.0.0:milestone23 | 9.0.0:milestone24 | 9.0.0:milestone25 | 9.0.0:milestone26 | 9.0.0:milestone27 | 9.0.0:milestone3 | 9.0.0:milestone4 | 9.0.0:milestone5 | 9.0.0:milestone6 | 9.0.0:milestone7 | 9.0.0:milestone8 | 9.0.0:milestone9 | 10.0.0:milestone1 | 10.0.0:milestone2 | 10.0.0:milestone3 | 10.0.0:milestone4 | 10.0.0:milestone5 | 10.0.0:milestone6 | 10.0.0:milestone7 | 10.0.0:milestone8 | 10.0.0:milestone9

  • debiandebian_linux

    9.0

  • org.apache.tomcat.embedtomcat-embed-core

    ≥ 10.0.0-M1, < 10.0.0-M10 | ≥ 9.0.0, < 9.0.40 | ≥ 8.5.0, < 8.5.60 | ≥ 7.0.0, < 7.0.107

  • oracleagile_plm

    9.3.3 | 9.3.6

References (29)