Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!Close

CVE-2021-24122

Published: 14 January 2021

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.

Notes

AuthorNote
leosilva
tomcat6 is out of support , marking tomcat6 for precise as ignored.
mdeslaur
probably windows-specific, setting to negligible

Priority

Negligible

Cvss 3 Severity Score

5.9

Score breakdown

Status

Package Release Status
tomcat6
Launchpad, Ubuntu, Debian
impish Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

bionic Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

trusty Needs triage

upstream Needs triage

xenial Needs triage

mantic Does not exist

tomcat7
Launchpad, Ubuntu, Debian
impish Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

bionic Needs triage

focal Does not exist

groovy Does not exist

hirsute Does not exist

trusty Needs triage

upstream Needs triage

xenial Needs triage

mantic Does not exist

tomcat8
Launchpad, Ubuntu, Debian
hirsute Does not exist

impish Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

trusty Does not exist

upstream Needs triage

bionic Needs triage

focal Does not exist

groovy Does not exist

xenial Needs triage

mantic Does not exist

Patches:
upstream: https://github.com/apache/tomcat/commit/920dddbdb981f92e8d5872a4bb126a10af5ca8a9
tomcat9
Launchpad, Ubuntu, Debian
bionic Needs triage

focal Needs triage

groovy Ignored
(end of life)
hirsute Ignored
(end of life)
jammy Needs triage

lunar Needs triage

trusty Does not exist

upstream Needs triage

xenial Does not exist

kinetic Ignored
(end of life, was needs-triage)
impish Ignored
(end of life)
mantic Needs triage

Severity score breakdown

Parameter Value
Base score 5.9
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact None
Availability impact None
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N