CVE-2023-22602

NameCVE-2023-22602
DescriptionWhen 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`
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1029039

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
shiro (PTS)jessie, jessie (lts)1.2.3-1+deb8u1vulnerable
stretch (security), stretch (lts), stretch1.3.2-1+deb9u2vulnerable
buster1.3.2-4+deb10u1vulnerable
bullseye1.3.2-4+deb11u1vulnerable
trixie, bookworm1.3.2-5vulnerable
sid1.3.2-6vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
shirosourcejessie(unfixed)end-of-life
shirosourcestretch(unfixed)end-of-life
shirosource(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

Search for package or bug name: Reporting problems