THREATPORT/VULNERABILITY/CVE-2021-24122
MEDIUM SEVERITY

CVE-2021-24122

Tomcat vulnerability

CVSS
5.9
EPSS
22.9%
EPSS pct
97th
Exploited
No known
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.
Affected vendor
Apache
Affected product
Tomcat
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness type (CWE)
Published
2021-01-14

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, high attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to confidentiality.

Its EPSS score of 22.9% reflects a moderate probability of exploitation activity in the wild over the next 30 days, placing it above 97% of all scored CVEs.

Check your external exposure to CVE-2021-24122

  • Confirm whether Apache Tomcat is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2021-24122.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2021-24122

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2021-24122 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2021-24122?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2021-24122.

Start free scan

No credit card. Agentless.