ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2025-965

Amazon Linux 2023 - ALAS2023-2025-965: Important priority package update for tomcat10

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

EcosystemPackageAffected versions
Amazon Linux:2023tomcat10
All versions before 1:10.1.40-1.amzn2023.0.1 (fixed in 1:10.1.40-1.amzn2023.0.1)
Amazon Linux:2023tomcat10-admin-webapps
All versions before 1:10.1.40-1.amzn2023.0.1 (fixed in 1:10.1.40-1.amzn2023.0.1)
Amazon Linux:2023tomcat10-docs-webapp
All versions before 1:10.1.40-1.amzn2023.0.1 (fixed in 1:10.1.40-1.amzn2023.0.1)
Amazon Linux:2023tomcat10-el-5.0-api
All versions before 1:10.1.40-1.amzn2023.0.1 (fixed in 1:10.1.40-1.amzn2023.0.1)
Amazon Linux:2023tomcat10-jsp-3.1-api
All versions before 1:10.1.40-1.amzn2023.0.1 (fixed in 1:10.1.40-1.amzn2023.0.1)
Amazon Linux:2023tomcat10-lib
All versions before 1:10.1.40-1.amzn2023.0.1 (fixed in 1:10.1.40-1.amzn2023.0.1)
Amazon Linux:2023tomcat10-servlet-6.0-api
All versions before 1:10.1.40-1.amzn2023.0.1 (fixed in 1:10.1.40-1.amzn2023.0.1)
Amazon Linux:2023tomcat10-webapps
All versions before 1:10.1.40-1.amzn2023.0.1 (fixed in 1:10.1.40-1.amzn2023.0.1)

References