Advisory

DEBIAN-CVE-2021-24122

Also known as: CVE-2021-24122

Summary

The record has no 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.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2021-01-14 15:15 UTC
Modified
2026-10-09 09:47 UTC

Affected packages and fixes

tomcat9

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 9.0.40-1 (ecosystem)

Fixed versions

9.0.40-1

Fix

  • Fixed version 9.0.40-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

tomcat9

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 9.0.40-1 (ecosystem)

Fixed versions

9.0.40-1

Fix

  • Fixed version 9.0.40-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

tomcat9

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 9.0.40-1 (ecosystem)

Fixed versions

9.0.40-1

Fix

  • Fixed version 9.0.40-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences