Apache Tomcat information disclosure
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.
CVE-2021-24122
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2021-24122
Apache Tomcat
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "Apache Software Foundation",
"product": "Apache Tomcat",
"versions": [
{
"status": "affected",
"version": "Apache Tomcat 10",
"lessThan": "10.0.0-M10",
"versionType": "custom"
},
{
"status": "affected",
"version": "Apache Tomcat 9",
"lessThan": "9.0.40",
"versionType": "custom"
},
{
"status": "affected",
"version": "Apache Tomcat 8.5",
"lessThan": "8.5.60",
"versionType": "custom"
},
{
"status": "affected",
"version": "Apache Tomcat 7",
"lessThan": "7.0.106",
"versionType": "custom"
}
]
}
]- Related CVEs
- CVE-2021-24122
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #15839 · Revision 1
- Added to Heist Feed
- Publisher date