CVE-2023-22602

High

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`

SeverityHigh
CVSS7.5
Exploit probability—
ProductApache Shiro
PublishedJan 14, 2023
First seenJan 14, 2023
Weakness typeCWE-436CWE-436

How to fix

Update
  • apache shiro1.11.0 or later
  • org.apache.shiro:shiro-root1.11.0 or later

Affected products

ProductAffected versionsFixed in
apache shirov < 1.11.01.11.0
vmware spring_boot2.6.0—
org.apache.shiro:shiro-rootMavenv < 1.11.01.11.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.