{"id":"CVE-2023-22602","aliases":["CVE-2023-22602","GHSA-7cxr-h8wm-fg4c"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Shiro before 1.11.0, when used with Spring Boot 2.6+, may allow authentication bypass through a specially crafted HTTP request","summary":"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 < 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`","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 < 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`","source":"cvelist"},{"lang":"es","text":"Cuando se utiliza Apache Shiro anterior a 1.11.0 junto con Spring Boot 2.6+, una solicitud HTTP especialmente manipulada puede provocar una omisión de autenticación. La omisión de autenticación se produce cuando Shiro y Spring Boot utilizan diferentes técnicas de coincidencia de patrones. Tanto Shiro como Spring Boot &lt; 2.6 por defecto utiliza la coincidencia de patrones de estilo Ant. Mitigación: actualice a Apache Shiro 1.11.0 o establezca el siguiente valor de configuración de Spring Boot: `spring.mvc.pathmatch.matching-strategy = ant_path_matcher`","source":"nvd"}],"published":"2023-01-14T09:33:39.775Z","modified":"2026-06-17T05:35:43.130Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-436"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.11.0","status":"unaffected"}],"vendor":"Apache Software Foundation","product":"Apache Shiro","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.11.0"}],"ecosystem":"Maven","package":"org.apache.shiro:shiro-root","purl":"pkg:maven/org.apache.shiro/shiro-root","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.11.0"}],"vendor":"apache","product":"shiro","cpe":"cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"2.6.0"}],"vendor":"vmware","product":"spring_boot","cpe":"cpe:2.3:a:vmware:spring_boot:2.6.0:\\+:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl","tags":["mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230302-0001/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22602","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/shiro","tags":["package"],"sources":["ghsa"]}],"credits":["v3ged0ge and Adamytd"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-01T15:25:09.693Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-22602","url":"https://www.cve.org/CVERecord?id=CVE-2023-22602","licence":"CVE Terms of Use","modified":"2024-08-02T10:13:49.411Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7cxr-h8wm-fg4c","url":"https://github.com/advisories/GHSA-7cxr-h8wm-fg4c","licence":"CC-BY-4.0","modified":"2024-02-16T08:23:48.417Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-22602","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22602","licence":"Public domain","modified":"2026-06-17T05:35:43.130Z"}],"updatedAt":"2026-11-25T22:58:21.605Z","epss":{"score":0.01656,"percentile":0.77306,"date":"2026-12-01T12:00:22.000Z"}}