Back to CVE records
Medium 5.9Published Jan 14, 2021

CVE-2021-24122Apache Tomcat information disclosure

Updated under an hour ago ()

Does this affect you?

It affects Apache Software Foundation Apache Tomcat and 3 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
5.9 MEDIUM (v3.1, NVD)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-200
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
apache
NVD analysis
Modified
Record last updated
Oct 8, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Apache Software Foundation Apache Tomcat
apache_software_foundation:apache_tomcat (from the name)
from Apache Tomcat 10 before 10.0.0-M10; from Apache Tomcat 9 before 9.0.40; from Apache Tomcat 8.5 before 8.5.60; from Apache Tomcat 7 before 7.0.106
CNA record
apache tomcat
apache:tomcat
from 7.0.0 through 7.0.106; from 8.5.0 through 8.5.59; from 9.0.1 through 9.0.39; 9.0.0; 9.0.0; 9.0.0; 9.0.0; 9.0.0; and 31 more ranges
NVD
debian debian_linux
debian:debian_linux
9.0
NVD
oracle agile_product_lifecycle_management
oracle:agile_product_lifecycle_management
9.3.3; 9.3.6
NVD

References

  • x-refsource-misc
  • mailing-list, x-refsource-mlist
  • mailing-list, x-refsource-mlist
  • mailing-list, x-refsource-mlist
  • mailing-list, x-refsource-mlist
  • mailing-list, x-refsource-mlist
  • mailing-list, x-refsource-mlist
  • mailing-list, x-refsource-mlist
  • mailing-list, x-refsource-mlist
  • x-refsource-misc
  • x-refsource-confirm

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.