Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2025-2812

Active Important

ALAS2-2025-2812 (important): tomcat

Published
01 Apr 2025
Updated
01 Apr 2025

Related CVEs

CVE identifiers linked by this publisher.

3
Publisher relationship details 3 records
Explicit publisher CVE relationships
CVE
CVE-2021-24122
CVE-2023-42795
CVE-2025-24813

Description

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

Read full publisher description 2573 characters

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. (CVE-2021-24122) Incomplete Cleanup vulnerability in Apache Tomcat. When recycling various internal objects in Apache Tomcat from 11.0.0-M1 through 11.0.0-M11, from 10.1.0-M1 through 10.1.13, from 9.0.0-M1 through 9.0.80 and from 8.5.0 through 8.5.93, an error could cause Tomcat to skip some parts of the recycling process leading to information leaking from the current request/response to the next. Users are recommended to upgrade to version 11.0.0-M12 onwards, 10.1.14 onwards, 9.0.81 onwards or 8.5.94 onwards, which fixes the issue. (CVE-2023-42795) Path Equivalence: 'file.Name' (Internal Dot) leading to Remote Code Execution and/or Information disclosure and/or malicious content added to uploaded files via write enabled Default Servlet in Apache Tomcat. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.2, from 10.1.0-M1 through 10.1.34, from 9.0.0.M1 through 9.0.98. If all of the following were true, a malicious user was able to view security sensitive files and/or inject content into those files: - writes enabled for the default servlet (disabled by default) - support for partial PUT (enabled by default) - a target URL for security sensitive uploads that was a sub-directory of a target URL for public uploads - attacker knowledge of the names of security sensitive files being uploaded - the security sensitive files also being uploaded via partial PUT If all of the following were true, a malicious user was able to perform remote code execution: - writes enabled for the default servlet (disabled by default) - support for partial PUT (enabled by default) - application was using Tomcat's file based session persistence with the default storage location - application included a library that may be leveraged in a deserialization attack Users are recommended to upgrade to version 11.0.3, 10.1.35, 9.0.99 or later, which fixes the issue. More justification and the patch links are available for all versions here: [1] https://tomcat.apache.org/security-11.html [2] https://tomcat.apache.org/security-10.html [3] https://tomcat.apache.org/security-9.html (CVE-2025-24813)

Solution

Run yum update tomcat or yum update --advisory ALAS2-2025-2812 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

2

Shared package data

Applies to all 2 occurrences
  1. 1tomcat

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • tomcat-7.0.76-10.amzn2.0.10.noarch
    • tomcat-admin-webapps-7.0.76-10.amzn2.0.10.noarch
    • tomcat-docs-webapp-7.0.76-10.amzn2.0.10.noarch
    • tomcat-javadoc-7.0.76-10.amzn2.0.10.noarch
    • tomcat-jsvc-7.0.76-10.amzn2.0.10.noarch
    • tomcat-jsp-2.2-api-7.0.76-10.amzn2.0.10.noarch
    • tomcat-lib-7.0.76-10.amzn2.0.10.noarch
    • tomcat-servlet-3.0-api-7.0.76-10.amzn2.0.10.noarch
    • tomcat-el-2.2-api-7.0.76-10.amzn2.0.10.noarch
    • tomcat-webapps-7.0.76-10.amzn2.0.10.noarch
  2. 2tomcat

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • tomcat-7.0.76-10.amzn2.0.10.src

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

6
  • CVE-2021-24122 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-24122
  • CVE-2023-42795 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-42795
  • CVE-2025-24813 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-24813
  • CVE-2021-24122 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24122
  • CVE-2023-42795 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42795
  • CVE-2025-24813 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-24813

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2025-2812.htmlUnknowna2b04ace774f3bf5648b7c0259b4b0a2849c4c9eec517e43f767bffc5ba00d5famazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2025-2812.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2025-2812.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected