high7.5
CVE-2023-22602
Apache Shiro Interpretation Conflict vulnerability
Impact
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`
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.shiro:shiro-root | < 1.11.0 | 1.11.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Shiro | before 1.11.0 |
| Vmware | Spring Boot | Version 2.6.0 |