BIT-tomcat-2021-24122

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/tomcat/BIT-tomcat-2021-24122.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-tomcat-2021-24122
Aliases
Published
2024-03-06T11:10:27.482Z
Modified
2025-03-24T17:31:38.612Z
Summary
[none]
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.

Database specific
{
    "cpes": [
        "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:10.0.0:milestone1:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:10.0.0:milestone2:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:10.0.0:milestone3:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:10.0.0:milestone4:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:10.0.0:milestone5:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:10.0.0:milestone6:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:10.0.0:milestone7:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:10.0.0:milestone8:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:10.0.0:milestone9:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone10:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone11:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone12:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone13:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone14:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone15:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone16:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone17:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone18:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone19:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone1:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone20:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone21:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone22:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone23:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone24:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone25:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone26:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone27:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone2:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone3:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone4:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone5:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone6:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone7:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone8:*:*:*:*:*:*",
        "cpe:2.3:a:apache:tomcat:9.0.0:milestone9:*:*:*:*:*:*"
    ],
    "severity": "Medium"
}
References

Affected packages

Bitnami / tomcat

Package

Name
tomcat
Purl
pkg:bitnami/tomcat

Severity

  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0
Fixed
7.0.107
Introduced
8.5.0
Fixed
8.5.60
Introduced
9.0.0-milestone1
Fixed
9.0.0
Introduced
9.0.0-milestone10
Fixed
9.0.0
Introduced
9.0.0-milestone11
Fixed
9.0.0
Introduced
9.0.0-milestone12
Fixed
9.0.0
Introduced
9.0.0-milestone13
Fixed
9.0.0
Introduced
9.0.0-milestone14
Fixed
9.0.0
Introduced
9.0.0-milestone15
Fixed
9.0.0
Introduced
9.0.0-milestone16
Fixed
9.0.0
Introduced
9.0.0-milestone17
Fixed
9.0.0
Introduced
9.0.0-milestone18
Fixed
9.0.0
Introduced
9.0.0-milestone19
Fixed
9.0.0
Introduced
9.0.0-milestone2
Fixed
9.0.0
Introduced
9.0.0-milestone20
Fixed
9.0.0
Introduced
9.0.0-milestone21
Fixed
9.0.0
Introduced
9.0.0-milestone22
Fixed
9.0.0
Introduced
9.0.0-milestone23
Fixed
9.0.0
Introduced
9.0.0-milestone24
Fixed
9.0.0
Introduced
9.0.0-milestone25
Fixed
9.0.0
Introduced
9.0.0-milestone26
Fixed
9.0.0
Introduced
9.0.0-milestone27
Fixed
9.0.0
Introduced
9.0.0-milestone3
Fixed
9.0.0
Introduced
9.0.0-milestone4
Fixed
9.0.0
Introduced
9.0.0-milestone5
Fixed
9.0.0
Introduced
9.0.0-milestone6
Fixed
9.0.0
Introduced
9.0.0-milestone7
Fixed
9.0.0
Introduced
9.0.0-milestone8
Fixed
9.0.0
Introduced
9.0.0-milestone9
Fixed
9.0.0
Introduced
9.0.1
Fixed
9.0.40
Introduced
10.0.0-milestone1
Fixed
10.0.0
Introduced
10.0.0-milestone2
Fixed
10.0.0
Introduced
10.0.0-milestone3
Fixed
10.0.0
Introduced
10.0.0-milestone4
Fixed
10.0.0
Introduced
10.0.0-milestone5
Fixed
10.0.0
Introduced
10.0.0-milestone6
Fixed
10.0.0
Introduced
10.0.0-milestone7
Fixed
10.0.0
Introduced
10.0.0-milestone8
Fixed
10.0.0
Introduced
10.0.0-milestone9
Fixed
10.0.0