Skip to content
OpenAdvisories
High · 7.5 CVE-2023-22602 EUVD-2023-0383GHSA-7cxr-h8wm-fg4c

Apache Shiro before 1.11.0, when used with Spring Boot 2.6+, may allow authentication bypass through a specially crafted HTTP request

Published Jan 14, 2023 · Updated Aug 2, 2024 · Assigned by apache

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`

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Shiro — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 shiro No fix yet —
Debian 13 shiro No fix yet —
Debian 12 shiro No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.shiro:shiro-root < 1.11.0 1.11.0 GHSA-7cxr-h8wm-fg4c

Advisories 2

References