Summary
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.
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | tomcat10 | 1:10.1.40-1.amzn2023.0.1 |
| Amazon Linux · 2023 | tomcat10-admin-webapps | 1:10.1.40-1.amzn2023.0.1 |
| Amazon Linux · 2023 | tomcat10-docs-webapp | 1:10.1.40-1.amzn2023.0.1 |
| Amazon Linux · 2023 | tomcat10-el-5.0-api | 1:10.1.40-1.amzn2023.0.1 |
| Amazon Linux · 2023 | tomcat10-jsp-3.1-api | 1:10.1.40-1.amzn2023.0.1 |
| Amazon Linux · 2023 | tomcat10-lib | 1:10.1.40-1.amzn2023.0.1 |
| Amazon Linux · 2023 | tomcat10-servlet-6.0-api | 1:10.1.40-1.amzn2023.0.1 |
| Amazon Linux · 2023 | tomcat10-webapps | 1:10.1.40-1.amzn2023.0.1 |
Vulnerabilities 2
-
Critical 9.8CVE-2025-31651 Public exploit
Apache Tomcat: Bypass of rules in Rewrite Valve
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 effectivel…
-
High 7.5
Apache Tomcat: DoS via malformed HTTP/2 PRIORITY_UPDATE frame
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 OutOf…