Skip to main content
Network Thinking Solutions Logo

CVE-2021-24122

Apache Tomcat information disclosure

All CVEs
CVE-2021-24122Published 1/14/2021

Apache Tomcat information disclosure

Vendor advisory
CVSS5.9Medium

Overview

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.

Published
1/14/2021
Last modified
10/8/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
tomcat
apache
≥ 7.0.0, ≤ 7.0.106

Verify advisory

Source
tomcat
apache
≥ 8.5.0, ≤ 8.5.59

Verify advisory

Source
tomcat
apache
≥ 9.0.1, ≤ 9.0.39

Verify advisory

Source
tomcat
apache
9.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
tomcat
apache
10.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
9.0

Verify advisory

Source
agile product lifecycle management
oracle
9.3.3

Verify advisory

Source
agile product lifecycle management
oracle
9.3.6

Verify advisory

Source
Apache Tomcat
Apache Software Foundation
≥ Apache Tomcat 10, < 10.0.0-M10

Verify advisory

Source
Apache Tomcat
Apache Software Foundation
≥ Apache Tomcat 9, < 9.0.40

Verify advisory

Source
Apache Tomcat
Apache Software Foundation
≥ Apache Tomcat 8.5, < 8.5.60

Verify advisory

Source
Apache Tomcat
Apache Software Foundation
≥ Apache Tomcat 7, < 7.0.106

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.9. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.