CVE-2023-22602 json
Apache Shiro before 1.11.0, when used with Spring Boot 2.6+, may allow authentication bypass through a specially crafted HTTP request
published 2023-01-14 3 y ago modified 2026-06-17 4 mo ago also GHSA-7cxr-h8wm-fg4c , EUVD-2023-0383
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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`
Patch / fix
- maven org.apache.shiro:shiro-root 1.11.0
- apache shiro 1.11.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-22602 updated cvss 7.5
shiro: Authentication bypass through a specially crafted HTTP request
-
Red Hat Fuse 7.12fixed: vendor fix RHSA-2023:3954
-
Red Hat RHINT Camel-Springboot 3.20.1fixed: vendor fix RHSA-2023:2100
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.60% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.shiro:shiro-root | <1.11.0 |
1.11.0 |
Affected products
- Apache Software Foundation Apache Shiro
Classification
- Weakness
-
- CWE-436 Interpretation Conflict
- Technology feeds
References
-
lists.apache.org
/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl
vendor-advisory, web, mailing-list
- security.netapp.com /advisory/ntap-20230302-0001/
-
nvd.nist.gov
/vuln/detail/CVE-2023-22602
advisory
-
github.com
/apache/shiro
package
Sources
- CVE List CVE-2023-22602
- GitHub Advisory GHSA-7cxr-h8wm-fg4c
- NVD CVE-2023-22602
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.