CVE-2021-24122
Last modified
CVE-2021-24122 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.. EPSS estimates a 22.85% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Apache | Tomcat | >= 7.0.0, <= 7.0.106 | — |
| Apache | Tomcat | >= 8.5.0, <= 8.5.59 | — |
| Apache | Tomcat | >= 9.0.1, <= 9.0.39 | — |
| Apache | Tomcat | 9.0.0 | Milestone1 |
| Apache | Tomcat | 10.0.0 | Milestone1 |
| Debian | Debian Linux | 9.0 | — |
| Oracle | Agile Plm | 9.3.3 | — |
| Oracle | Agile Plm | 9.3.6 | — |
References
- http://www.openwall.com/lists/oss-security/2021/01/14/1Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/03/msg00018.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210212-0008/Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/01/14/1Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/03/msg00018.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210212-0008/Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-24122?
How severe is CVE-2021-24122?
How do I fix CVE-2021-24122?
Are you affected by CVE-2021-24122?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
