UBUNTU-CVE-2021-24122

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-24122

    UBUNTU-CVE-2021-24122

    Published: 14 Jan 2021Last Modified: 15 Jul 2026
    Upstream:

    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: tomcat7

    Purl: pkg:deb/ubuntu/tomcat7?arch=source&distro=esm-infra-legacy%2Ftrusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    7.0.42-1
    7.0.47-1
    7.0.50-1
    7.0.52-1
    7.0.52-1ubuntu0.1
    7.0.52-1ubuntu0.3
    7.0.52-1ubuntu0.6
    7.0.52-1ubuntu0.7
    7.0.52-1ubuntu0.8
    7.0.52-1ubuntu0.9
    7.0.52-1ubuntu0.10
    7.0.52-1ubuntu0.11
    7.0.52-1ubuntu0.13
    7.0.52-1ubuntu0.14
    7.0.52-1ubuntu0.15
    7.0.52-1ubuntu0.16
    7.0.52-1ubuntu0.16+esm1
    7.0.52-1ubuntu0.16+esm2

    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
    UBUNTU-CVE-2021-24122 | CVE-DB