Name | CVE-2023-22602 |
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`
|
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1029039 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
shiro (PTS) | jessie, jessie (lts) | 1.2.3-1+deb8u1 | vulnerable |
| stretch (security), stretch (lts), stretch | 1.3.2-1+deb9u2 | vulnerable |
| buster | 1.3.2-4+deb10u1 | vulnerable |
| bullseye | 1.3.2-4+deb11u1 | vulnerable |
| sid, trixie, bookworm | 1.3.2-5 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
shiro | source | jessie | (unfixed) | end-of-life | | |
shiro | source | stretch | (unfixed) | end-of-life | | |
shiro | source | (unstable) | (unfixed) | | | 1029039 |
Notes
[bookworm] - shiro <no-dsa> (Minor issue)
[bullseye] - shiro <no-dsa> (Minor issue)
[buster] - shiro <postponed> (Minor issue, cf. #1029039)
https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl