5.9

CVE-2021-24122: Apache Tomcat information disclosure

Modified
AliasesMGASA-2021-0072SUSE-SU-2021:0530-1SUSE-SU-2021:0531-1
Published 14-01-2021Last modified 08-10-2026

Vulnerability summary

CVE-2021-24122 is a medium (CVSS 5.9) vulnerability in apache software foundation apache tomcat. EPSS estimates a 22.85% chance of exploitation in the next 30 days, higher than 97.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (NVD)
EPSS score
22.85%
0%100%
High · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 8

Timeline

  1. 14-01-2021
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability 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

5 scores · 4 sources · 2 versions

EPSS trend

Probability

22.85%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

No change 0.00 pp

From 22.85% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse3 products
  • tomcat&distro=SUSE Linux Enterprise Module for Web and Scripting 15 SP2< 9.0.36-3.21.1
  • tomcat&distro=SUSE Linux Enterprise Server 12 SP5< 9.0.36-3.61.1
  • tomcat&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 9.0.36-3.61.1
Ubuntu3 products
  • tomcat7All versions (No fix recorded)
  • tomcat8All versions (No fix recorded)
  • tomcat9All versions (No fix recorded)
Debian2 products
Apache1 product
  • tomcatEOL≥ 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
Apache software foundation1 product
  • apache 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
Mageia1 product
  • tomcat< 9.0.39-1.1.mga7
Opensuse1 product
  • tomcat&distro=openSUSE Leap 15.2< 9.0.36-lp152.2.19.1
Oracle1 product
Org.apache.tomcat.embed1 product
  • tomcat-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

9 vendors · 14 products

References

41 links
Show all 41 references