Vulnerability · Published Jan 14, 2023 · Assigned by apache

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

High 7.5

In plain English

A high-severity security flaw in Apache Shiro from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.6%top 24.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12shirono fix listedDEBIAN-CVE-2023-22602
Debian:13shirono fix listedDEBIAN-CVE-2023-22602
Debian:14shirono fix listedDEBIAN-CVE-2023-22602
Mavenorg.apache.shiro:shiro-root1.11.0GHSA-7cxr-h8wm-fg4c

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Shiro see references

Weakness: CWE-436

References