Amazon Linux 2 Security Advisory: ALAS2TOMCAT9-2025-018
Advisory Released Date: 2025-05-29
Advisory Updated Date: 2025-05-29
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-31651)
Affected Packages:
tomcat
Note:
This advisory is applicable to Amazon Linux 2 - Tomcat9 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update tomcat to update your system.
noarch:
tomcat-9.0.104-1.amzn2.0.1.noarch
tomcat-admin-webapps-9.0.104-1.amzn2.0.1.noarch
tomcat-docs-webapp-9.0.104-1.amzn2.0.1.noarch
tomcat-jsvc-9.0.104-1.amzn2.0.1.noarch
tomcat-jsp-2.3-api-9.0.104-1.amzn2.0.1.noarch
tomcat-lib-9.0.104-1.amzn2.0.1.noarch
tomcat-servlet-4.0-api-9.0.104-1.amzn2.0.1.noarch
tomcat-el-3.0-api-9.0.104-1.amzn2.0.1.noarch
tomcat-webapps-9.0.104-1.amzn2.0.1.noarch
src:
tomcat-9.0.104-1.amzn2.0.1.src