CVE-2023-22602
Description
When using Apache Shiro before 1.11.0 together with Spring Boot 2.6+, a specially crafted HTTP request may cause an authentication bypass. The authentication bypass occurs when Shiro and Spring Boot are using different pattern-matching techniques. Both Shiro and Spring Boot < 2.6 default to Ant style pattern matching. Mitigation: Update to Apache Shiro 1.11.0, or set the following Spring Boot configuration value: `spring.mvc.pathmatch.matching-strategy = ant_path_matcher`
How to fix
- apache shiro1.11.0 or later
- org.apache.shiro:shiro-root1.11.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache shiro | v < 1.11.0 | 1.11.0 |
| vmware spring_boot | 2.6.0 | — |
| org.apache.shiro:shiro-rootMaven | v < 1.11.0 | 1.11.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.