CVE-2023-22602
HIGH 7.5CVSS 3.1Apache Shiro Interpretation Conflict vulnerability
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
- Published
- 14 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-436
- Also known as
- GHSA-7cxr-h8wm-fg4c
- Sources
- NVDJSONOSV GHSA-7cxr-h8wm-fg4cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | shirocpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:* |
< 1.11.0 | 1.11.0 |
| NVD | vmware | spring_bootcpe:2.3:a:vmware:spring_boot:2.6.0:\+:*:*:*:*:*:* |
= 2.6.0 | |
| OSV | Maven | org.apache.shiro:shiro-root | < 1.11.0 | 1.11.0 |
References
- https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl · Mailing List, Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230302-0001/
- https://nvd.nist.gov/vuln/detail/CVE-2023-22602 · ADVISORY
- https://github.com/apache/shiro · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 14 Jan 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Jan 2023)