Name | CVE-2025-31651 |
Description | 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. Users are recommended to upgrade to version [FIXED_VERSION], which fixes the issue. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
tomcat10 (PTS) | bookworm | 10.1.34-0+deb12u1 | vulnerable |
bookworm (security) | 10.1.34-0+deb12u2 | vulnerable | |
sid, trixie | 10.1.40-1 | fixed | |
tomcat11 (PTS) | sid, trixie | 11.0.6-1 | fixed |
tomcat9 (PTS) | bullseye | 9.0.43-2~deb11u10 | vulnerable |
bullseye (security) | 9.0.43-2~deb11u12 | vulnerable | |
bookworm | 9.0.70-2 | fixed | |
sid, trixie | 9.0.95-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
tomcat10 | source | (unstable) | 10.1.40-1 | |||
tomcat11 | source | (unstable) | 11.0.6-1 | |||
tomcat9 | source | (unstable) | 9.0.70-2 |
Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack, using that as the fixed version
Fixed by: https://github.com/apache/tomcat/commit/fbecc915a10c5a3d634c5e2c6ced4ff479ce9953 (11.0.6)
Fixed by: https://github.com/apache/tomcat/commit/066bf6b6a15a4e7e0941d4acf096841165b97098 (10.1.40)
Fixed by: https://github.com/apache/tomcat/commit/ee3ab548e92345eca0cbd1f01649eb36c6f29454 (9.0.104)
Fixed by: https://github.com/apache/tomcat/commit/175dc75fc428930034a6c93fb52f830d955d8e64 (9.0.104)