Amazon Linux Security Advisory
ALAS2023-2025-964
Amazon Linux 2023 - ALAS2023-2025-964: Important priority package update for tomcat9
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-31651: Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in Apache Tomcat. For a subset of unlikely rewrite rule configurations, it was possible for a specially crafted request to bypass some rewrite rules. If those rewrite rules effectively enforced security constraints, those constraints could be bypassed. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.5, from 10.1.0-M1 through 10.1.39, from 9.0.0.M1 through 9.0.102.
CVE-2025-31650: Improper Input Validation vulnerability in Apache Tomcat. Incorrect error handling for some invalid HTTP priority headers resulted in incomplete clean-up of the failed request which created a memory leak. A large number of such requests could trigger an OutOfMemoryException resulting in a denial of service.
This issue affects Apache Tomcat: from 9.0.76 through 9.0.102, from 10.1.10 through 10.1.39, from 11.0.0-M2 through 11.0.5.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | tomcat9 | All versions before 1:9.0.104-1.amzn2023.0.1 (fixed in 1:9.0.104-1.amzn2023.0.1) |
| Amazon Linux:2023 | tomcat9-admin-webapps | All versions before 1:9.0.104-1.amzn2023.0.1 (fixed in 1:9.0.104-1.amzn2023.0.1) |
| Amazon Linux:2023 | tomcat9-docs-webapp | All versions before 1:9.0.104-1.amzn2023.0.1 (fixed in 1:9.0.104-1.amzn2023.0.1) |
| Amazon Linux:2023 | tomcat9-el-3.0-api | All versions before 1:9.0.104-1.amzn2023.0.1 (fixed in 1:9.0.104-1.amzn2023.0.1) |
| Amazon Linux:2023 | tomcat9-jsp-2.3-api | All versions before 1:9.0.104-1.amzn2023.0.1 (fixed in 1:9.0.104-1.amzn2023.0.1) |
| Amazon Linux:2023 | tomcat9-lib | All versions before 1:9.0.104-1.amzn2023.0.1 (fixed in 1:9.0.104-1.amzn2023.0.1) |
| Amazon Linux:2023 | tomcat9-servlet-4.0-api | All versions before 1:9.0.104-1.amzn2023.0.1 (fixed in 1:9.0.104-1.amzn2023.0.1) |
| Amazon Linux:2023 | tomcat9-webapps | All versions before 1:9.0.104-1.amzn2023.0.1 (fixed in 1:9.0.104-1.amzn2023.0.1) |