GitHub Advisoryadvisory · Maven
GHSA-7cxr-h8wm-fg4c Apache Shiro Interpretation Conflict vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2023-22602
- Ecosystem
- Maven
- Packages
- org.apache.shiro:shiro-root
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-436
- Reviewed
- 2023-01-20
Affected packages
• Maven org.apache.shiro:shiro-root: < 1.11.0 → fixed in 1.11.0
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`
Related
Alias · CVE (1)
- CVE-2023-22602 When using Apache Shiro before 1.11.0 together with Spring Boot 2.6+, a specially crafted HTTP request may cause an authentication bypass. vulnerability
Weakness · CWE (1)
- CWE-436 Interpretation Conflict weakness