Skip to main content
No exploitation reportedFix available

CVE-2021-24122

No exploitation reported by the sources we read.

  • Published2021-01-14
  • WeaknessCWE-200 · CWE-706

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-01-1415:15CVE publishedNVD
  2. 2026-10-2319:23EPSS crossed 10 %FIRST EPSS

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-24122?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-24122?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Apache Tomcat
BranchAffectedFixed in
7.0≥ 7.0.0, ≤ 7.0.106no fix published
8.5≥ 8.5.0, ≤ 8.5.59no fix published
9.0≥ 9.0.1, ≤ 9.0.39no fix published
9.0= 9.0.0no fix published
10.0= 10.0.0no fix published
tomcat-embed-core
BranchAffectedFixed in
10.0≥ 10.0.0-M1, < 10.0.0-M1010.0.0-M10
9.0≥ 9.0.0, < 9.0.409.0.40
8.5≥ 8.5.0, < 8.5.608.5.60
7.0≥ 7.0.0, < 7.0.1077.0.107
tomcat
BranchAffectedFixed in
9.0≥ 9.0.1, < 9.0.409.0.40
8.5≥ 8.5.0, < 8.5.608.5.60
7.0≥ 7.0.0, < 7.0.1077.0.107

2 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionnone2026-10-08
  • OpenCVESSVC decisionnone—
  • NVDCVSS 3.15.9read 2026-10-23
  • NVDCVSS 2.04.3read 2026-10-23
  • CNAweakness (CWE)CWE-200read 2026-10-23
  • NVDweakness (CWE)CWE-706read 2026-10-23
  • FIRST EPSSEPSS score22.9 %read 2026-10-23
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2021-01-14
Last Modified
2026-10-08
NVD status
Modified

Frequently asked questions

What is CVE-2021-24122?

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.

Is CVE-2021-24122 actively exploited?

Active exploitation of CVE-2021-24122 has not been confirmed. Its EPSS score was 22.9% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-24122?

CVE-2021-24122 has a CVSS v3 base score of 5.9 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running Apache Tomcat? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month