ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2025-1281

Amazon Linux 2023 - ALAS2023-2025-1281: Important priority package update for tomcat9

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-61795: Improper Resource Shutdown or Release vulnerability in Apache Tomcat.

If an error occurred (including exceeding limits) during the processing of a multipart upload, temporary copies of the uploaded parts written to disc were not cleaned up immediately but left for the garbage collection process to delete. Depending on JVM settings, application memory usage and application load, it was possible that space for the temporary copies of uploaded parts would be filled faster than GC cleared it, leading to a DoS.

This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.11, from 10.1.0-M1 through 10.1.46, from 9.0.0.M1 through 9.0.109.

The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.12 or later, 10.1.47 or later or 9.0.110 or later which fixes the issue.

CVE-2025-55752: Relative Path Traversal vulnerability in Apache Tomcat.

The fix for bug 60013 introduced a regression where the rewritten URL was normalized before it was decoded. This introduced the possibility that, for rewrite rules that rewrite query parameters to the URL, an attacker could manipulate the request URI to bypass security constraints including the protection for /WEB-INF/ and /META-INF/. If PUT requests were also enabled then malicious files could be uploaded leading to remote code execution. PUT requests are normally limited to trusted users and it is considered unlikely that PUT requests would be enabled in conjunction with a rewrite that manipulated the URI.

This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.10, from 10.1.0-M1 through 10.1.44, from 9.0.0.M11 through 9.0.108.

The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.6 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.11 or later, 10.1.45 or later or 9.0.109 or later, which fix the issue.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023tomcat9
All versions before 1:9.0.111-1.amzn2023.0.1 (fixed in 1:9.0.111-1.amzn2023.0.1)
Amazon Linux:2023tomcat9-admin-webapps
All versions before 1:9.0.111-1.amzn2023.0.1 (fixed in 1:9.0.111-1.amzn2023.0.1)
Amazon Linux:2023tomcat9-docs-webapp
All versions before 1:9.0.111-1.amzn2023.0.1 (fixed in 1:9.0.111-1.amzn2023.0.1)
Amazon Linux:2023tomcat9-el-3.0-api
All versions before 1:9.0.111-1.amzn2023.0.1 (fixed in 1:9.0.111-1.amzn2023.0.1)
Amazon Linux:2023tomcat9-jsp-2.3-api
All versions before 1:9.0.111-1.amzn2023.0.1 (fixed in 1:9.0.111-1.amzn2023.0.1)
Amazon Linux:2023tomcat9-lib
All versions before 1:9.0.111-1.amzn2023.0.1 (fixed in 1:9.0.111-1.amzn2023.0.1)
Amazon Linux:2023tomcat9-servlet-4.0-api
All versions before 1:9.0.111-1.amzn2023.0.1 (fixed in 1:9.0.111-1.amzn2023.0.1)
Amazon Linux:2023tomcat9-webapps
All versions before 1:9.0.111-1.amzn2023.0.1 (fixed in 1:9.0.111-1.amzn2023.0.1)

References