CVE-2023-22602

Source
https://cve.org/CVERecord?id=CVE-2023-22602
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22602.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-22602
Aliases
Downstream
Published
2023-01-14T09:33:39.775Z
Modified
2026-08-12T03:51:40.825511164Z
Summary
Apache Shiro before 1.11.0, when used with Spring Boot 2.6+, may allow authentication bypass through a specially crafted HTTP request
Details

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

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "1.11.0"
                }
            ],
            "source": "DESCRIPTION"
        }
    ],
    "cna_assigner": "apache",
    "cwe_ids": [
        "CWE-436"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22602.json"
}
References

Affected packages

Git / github.com/apache/shiro

Affected ranges

Type
GIT
Repo
https://github.com/apache/shiro
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.11.0"
        }
    ],
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*"
}

Affected versions

shiro-root-1.*
shiro-root-1.10.0
shiro-root-1.10.0-vote-1
shiro-root-1.4.0-RC2
shiro-root-1.4.0-RC2-release-vote1
shiro-root-1.4.1
shiro-root-1.5.0
shiro-root-1.5.2
shiro-root-1.5.2-release-vote1
shiro-root-1.5.3
shiro-root-1.5.3-release-vote1
shiro-root-1.6.0
shiro-root-1.7.0
shiro-root-1.7.1
shiro-root-1.8.0
shiro-root-1.9.0
shiro-root-1.9.0-release-vote1
shiro-root-1.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22602.json"

Git / github.com/spring-projects/spring-boot

Affected ranges

Type
GIT
Repo
https://github.com/spring-projects/spring-boot
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "2.6.0-\\+"
        },
        {
            "last_affected": "2.6.0-\\+"
        }
    ],
    "source": "CPE_STRING",
    "cpe": "cpe:2.3:a:vmware:spring_boot:2.6.0:\\+:*:*:*:*:*:*"
}

Affected versions

2.*
2.6.0-\+
v2.*
v2.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22602.json"