CVE-2023-22602: 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 13, 2023
·
Updated

A flaw was found in Apache Shiro. This issue may allow a malicious user to send a specially crafted HTTP request that could cause an authentication bypass.

Other sources

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 = antpathmatcher

MITRE

Affected Software

4 affected componentsFixes available
maven/org.apache.shiro:shiro-root<1.11.0
1.11.0
redhat/shiro-core<1.11.0
1.11.0
Apache Shiro<1.11.0
VMware Spring Boot=2.6.0-\+

Event History

Jan 13, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 14, 2023
CVE Published
via MITRE·09:33 AM
Data Sourced
via MITRE·09:33 AM
DescriptionWeakness
Advisory Published
12:30 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-22602?

CVE-2023-22602 is a vulnerability found in Apache Shiro that may allow a malicious user to bypass authentication.

2

How does CVE-2023-22602 work?

CVE-2023-22602 occurs when using Apache Shiro before 1.11.0 together with Spring Boot 2.6+, where a specially crafted HTTP request can cause an authentication bypass due to different pattern-matching techniques used by Shiro and Spring Boot.

3

What is the severity of CVE-2023-22602?

CVE-2023-22602 has a severity rating of high (7 out of 10).

4

Which software versions are affected by CVE-2023-22602?

CVE-2023-22602 affects Apache Shiro versions up to but excluding 1.11.0, as well as Spring Boot versions 2.6.0 and above.

5

How can I fix CVE-2023-22602?

To fix CVE-2023-22602, upgrade to Apache Shiro version 1.11.0 or higher, and Spring Boot version below 2.6.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203