{"id":"CVE-2023-22602","summary":"Apache Shiro before 1.11.0, when used with Spring Boot 2.6+, may allow authentication bypass through a specially crafted HTTP request","details":"When using Apache Shiro before 1.11.0 together with Spring Boot 2.6+, a specially crafted HTTP request may cause an authentication bypass.\n\nThe authentication bypass occurs when Shiro and Spring Boot are using different pattern-matching techniques. Both Shiro and Spring Boot \u003c 2.6 default to Ant style pattern matching.\nMitigation: Update to Apache Shiro 1.11.0, or set the following Spring Boot configuration value:  `spring.mvc.pathmatch.matching-strategy = ant_path_matcher`\n\n\n","aliases":["GHSA-7cxr-h8wm-fg4c"],"modified":"2026-08-12T03:51:40.825511164Z","published":"2023-01-14T09:33:39.775Z","database_specific":{"cna_assigner":"apache","cwe_ids":["CWE-436"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22602.json","unresolved_ranges":[{"extracted_events":[{"fixed":"1.11.0"}],"source":"DESCRIPTION"}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22602.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22602"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230302-0001/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/shiro","events":[{"introduced":"0"},{"fixed":"adb56c885210eeca710b2df17f6b3aeda85e4f35"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.11.0"}]}}],"versions":["shiro-root-1.10.0-vote-1","shiro-root-1.10.0","shiro-root-1.9.1","shiro-root-1.9.0","shiro-root-1.9.0-release-vote1","shiro-root-1.8.0","shiro-root-1.7.1","shiro-root-1.7.0","shiro-root-1.6.0","shiro-root-1.5.3-release-vote1","shiro-root-1.5.3","shiro-root-1.5.2-release-vote1","shiro-root-1.5.2","shiro-root-1.5.0","shiro-root-1.4.1","shiro-root-1.4.0-RC2-release-vote1","shiro-root-1.4.0-RC2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22602.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/spring-projects/spring-boot","events":[{"introduced":"44047f322d50c365941b59ff782e15b605a457ea"},{"last_affected":"44047f322d50c365941b59ff782e15b605a457ea"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:vmware:spring_boot:2.6.0:\\+:*:*:*:*:*:*","extracted_events":[{"introduced":"2.6.0-\\+"},{"last_affected":"2.6.0-\\+"}]}}],"versions":["2.6.0-\\+","v2.6.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22602.json"}}],"schema_version":"1.9.0"}