{"id":"UBUNTU-CVE-2023-22602","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. The 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. Mitigation: Update to Apache Shiro 1.11.0, or set the following Spring Boot configuration value: `spring.mvc.pathmatch.matching-strategy = ant_path_matcher`","modified":"2026-02-04T03:16:45.809081Z","published":"2023-01-14T10:15:00Z","withdrawn":"2025-06-23T15:56:48Z","related":["CVE-2023-22602"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-22602"},{"type":"REPORT","url":"https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-22602"}],"affected":[{"package":{"name":"shiro","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/shiro?arch=src?distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.4-1"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22602.json"}},{"package":{"name":"shiro","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/shiro?arch=src?distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-2","1.3.2-3~18.04","1.3.2-3~18.04.1","1.3.2-3ubuntu0.18.04.1~esm1"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22602.json"}},{"package":{"name":"shiro","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/shiro?arch=src?distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-4","1.3.2-4ubuntu0.1","1.3.2-4ubuntu0.2"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22602.json"}},{"package":{"name":"shiro","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/shiro?arch=src?distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-4","1.3.2-5"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22602.json"}},{"package":{"name":"shiro","ecosystem":"Ubuntu:24.10","purl":"pkg:deb/ubuntu/shiro?arch=src?distro=oracular"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-5"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22602.json"}},{"package":{"name":"shiro","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/shiro?arch=src?distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-5"],"ecosystem_specific":{"ubuntu_priority":"medium"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22602.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}