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
HighCVSS 7.5
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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
Upgrade path
12 packages: 2 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/shiro(Debian 12) | = 1.3.2-5; = 1.3.2-6; All versions | No fix listed | No fix yet |
| debian/shiro(Debian 13) | = 1.3.2-6; All versions | No fix listed | No fix yet |
| debian/shiro(Debian 14) | = 1.3.2-6; All versions | No fix listed | No fix yet |
| ubuntu/shiro?arch=src(Ubuntu 20.04) | = 1.3.2-4; = 1.3.2-4ubuntu0.1; = 1.3.2-4ubuntu0.2; All versions | No fix listed | No fix yet |
| ubuntu/shiro?arch=src(Ubuntu 22.04) | = 1.3.2-4; = 1.3.2-5; All versions | No fix listed | No fix yet |
| ubuntu/shiro?arch=src(Ubuntu 24.04) | = 1.3.2-5; All versions | No fix listed | No fix yet |
| ubuntu/shiro?arch=src(Ubuntu 24.10) | = 1.3.2-5; All versions | No fix listed | No fix yet |
| ubuntu/shiro?arch=src(Ubuntu Pro 16.04) | = 1.2.4-1; All versions | No fix listed | No fix yet |
| ubuntu/shiro?arch=src(Ubuntu Pro 18.04) | = 1.3.2-2; = 1.3.2-3ubuntu0.18.04.1~esm1; = 1.3.2-3~18.04; = 1.3.2-3~18.04.1 +1 more | No fix listed | No fix yet |
| apache shiro | < 1.11.0 | 1.11.0 | Fixed |
| org.apache.shiro/shiro-root(Maven) | < 1.11.0; = 1.0.0-incubating; = 1.1.0; = 1.2.0 +25 more | 1.11.0 | Fixed |
| VMware spring boot | = 2.6.0-+ | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.shiro/shiro-root(Maven) | < 1.11.0 | 1.11.0 |
| org.apache.shiro/shiro-root(Maven) | = 1.0.0-incubating | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.1.0 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.10.0 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.10.1 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.2.0 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.2.1 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.2.2 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.2.3 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.2.4 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.2.5 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.2.6 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.3.0 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.3.1 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.3.2 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.4.0 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.4.0-RC2 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.4.1 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.4.2 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.5.0 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.5.1 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.5.2 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.5.3 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.6.0 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.7.0 | No fix listed |
Show 31 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.shiro/shiro-root(Maven) | = 1.7.1 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.8.0 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.9.0 | No fix listed |
| org.apache.shiro/shiro-root(Maven) | = 1.9.1 | No fix listed |
| debian/shiro(Debian:12) | All versions | No fix listed |
| debian/shiro(Debian:12) | = 1.3.2-5 | No fix listed |
| debian/shiro(Debian:12) | = 1.3.2-6 | No fix listed |
| debian/shiro(Debian:13) | All versions | No fix listed |
| debian/shiro(Debian:13) | = 1.3.2-6 | No fix listed |
| debian/shiro(Debian:14) | All versions | No fix listed |
| debian/shiro(Debian:14) | = 1.3.2-6 | No fix listed |
| apache shiro | < 1.11.0 | 1.11.0 |
| VMware spring boot | = 2.6.0-+ | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:Pro:16.04) | = 1.2.4-1 | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:Pro:18.04) | = 1.3.2-2 | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:Pro:18.04) | = 1.3.2-3~18.04 | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:Pro:18.04) | = 1.3.2-3~18.04.1 | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:Pro:18.04) | = 1.3.2-3ubuntu0.18.04.1~esm1 | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:20.04) | = 1.3.2-4 | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:20.04) | = 1.3.2-4ubuntu0.1 | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:20.04) | = 1.3.2-4ubuntu0.2 | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:22.04) | = 1.3.2-4 | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:22.04) | = 1.3.2-5 | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:24.10) | All versions | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:24.10) | = 1.3.2-5 | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/shiro?arch=src(Ubuntu:24.04) | = 1.3.2-5 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- lists.apache.org issue-tracking mailing-list vendor-advisory
- github.com
- github.com product
- Debian Security Tracker CVE-2023-22602 vendor-advisory
- security.netapp.com
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking