CVE-2021-24122

    Dashboard / Vulnerabilities / CVE-2021-24122

    CVE-2021-24122

    Published: 14 Jan 2021Last Modified: 10 Oct 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- e498667bd7811e846771a852b16ce9f1e524b81b
    Fixed -None

    Affected versions

    10.0.0-milestone1
    10.0.0-milestone2
    10.0.0-milestone3
    10.0.0-milestone4
    10.0.0-milestone5
    10.0.0-milestone6
    10.0.0-milestone7
    10.0.0-milestone8
    10.0.0-milestone9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2021-24122 | CVE-DB