Apache Tomcat information disclosure

Patch this weekSensitive data exposure over the network, no login needed.
5.9MEDIUM

Key Information:

Vendor

Apache

CVE ID
CVE ID:
CVE-2021-24122
Vendor
CVE Published:
14 January 2021
Fixed in
Fixed in:
10.0.0-M10, 9.0.40, 8.5.60 +1 more

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
Apache Tomcat Apache Tomcat 10 to below 10.0.0-M10 is vulnerable
Apache Tomcat Apache Tomcat 9 to below 9.0.40 is vulnerable
Apache Tomcat Apache Tomcat 8.5 to below 8.5.60 is vulnerable
Apache Tomcat Apache Tomcat 7 to below 7.0.106 is vulnerable

Install the Apache Tomcat release that fixes your version line, or later:

10.0.0-M109.0.408.5.607.0.106
Read the vendor advisory โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Apache Tomcat. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • It can be exploited remotely without credentials.
  • EPSS gives it a 22.4% chance of exploitation in the next 30 days.
  • Its CVSS severity is medium (5.9).

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.

References

Key Exchange Vulnerability in Apache Tomcat

CVE-2026-133325
ApacheApache Tomcat๐Ÿ˜„๐Ÿ‘พ9.8CRITICAL

Improper Exception Management in Apache Tomcat Affects Multiple Versions

CVE-2026-116561
ApacheApache Tomcat๐Ÿ˜„9.1CRITICAL

Deserialization Vulnerability in Apache Roller Affects Multiple Versions

CVE-2026-129448
ApacheApache Roller๐Ÿ˜„๐Ÿ‘พ9.8CRITICAL
View more Apache vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

EPSS Score

22% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Credit

This issue was identified by Ilja Brander.
.