Apache Software Foundation Apache Tomcat
Apache Tomcat: RewriteValve [N] restarts at the second rule and may bypass access control
Off-by-one Error vulnerability in Apache Tomcat impacting the [N] flag on the rewrite valves causes rewrite processing to restart at the second rule rather than the first rule. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.24, from 10.1.0-M1 through 10.1.57, from 9.0.0.M1 through 9.0.120. The following versions were EOL at the time the CVE was created but are known to be affected: from 8.5.0 through 8.5.100. Other unsupported versions may also be affected. Users are recommended to upgrade to version 11.0.25, 10.1.58 or 9.0.121 which fix the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 11.0.0-M1, <= 11.0.24
- >= 10.1.0-M1, <= 10.1.57
- >= 9.0.0.M1, <= 9.0.120
- >= 8.5.0, <= 8.5.100
Fixed in 7.0.0, 0
Mitigation
Upgrade Apache Tomcat to 7.0.0 or 0 or later.
References
- Vendor advisory lists.apache.org/thread/st1dx1zyn5y7ny2s0sscmh6lrv3w…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.