Apache Tomcat: Bad ornext processing in RewriteValve
Apache Software Foundation Apache Tomcat
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core Maven |
|
|
Apache Software Foundation Apache Tomcat
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core Maven |
|
|
| org.apache.tomcat:tomcat Maven |
|
|
| org.apache.tomcat:tomcat-catalina Maven |
|
|
Always-Incorrect Control Flow Implementation vulnerability in Apache Tomcat's rewrite valve meant that if the first condition in an OR chain matched, subsequent non-OR conditions were skipped.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.22, from 10.1.0-M1 through 10.1.55, from 9.0.0.M1 through 9.0.118, from 8.5.0 through 8.5.100. Other versions that have reached end of support may also be affected.
Users are recommended to upgrade to version 11.0.23, 10.1.56 or 9.0.119, which fix the issue.
From the CVE record · apache
Apache Tomcat's rewrite valve incorrectly skips subsequent non-OR conditions when the first condition in an OR chain matches. This can cause rewrite rules to behave incorrectly; the input does not specify attacker access requirements or whether user interaction is needed.
Operators using Apache Tomcat or the listed Maven packages should check versions 11.0.0-M1–11.0.22, 10.1.0-M1–10.1.55, 9.0.0.M1–9.0.118, and 8.5.0–8.5.100.