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`
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Shiro | — |
References
- https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhklMailing List, Vendor Advisory
- https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhklMailing List, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20230302-0001/
Timeline
- Published
- Jan 14, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified