CVEfocus › CVE database › CVE-2023-22602

CVE-2023-22602Apache Shiro before 1.11.0, when used with Spring Boot 2.6+, may allow authentication…

CVSS 7.5 HighEPSS 1.5% (higher than 75% of CVEs)Published 2023-01-14Updated 2024-08-02Assigner: apache

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`

CWE-436

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
4Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04shiroNot affected
vulnerable_code_not_present
Ubuntu 20.04shiroNot affected
vulnerable_code_not_present
Ubuntu 16.04shiroFix pending
Debian 14shiroFix pendingDEBIAN-CVE-2023-22602
Debian 13shiroFix pendingDEBIAN-CVE-2023-22602
Debian 12shiroFix pendingDEBIAN-CVE-2023-22602
Maven libraryorg.apache.shiro:shiro-rootFixed1.11.0GHSA-7cxr-h8wm-fg4c

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.