GHSA-7cxr-h8wm-fg4c

Suggest an improvement
Source
https://github.com/advisories/GHSA-7cxr-h8wm-fg4c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-7cxr-h8wm-fg4c/GHSA-7cxr-h8wm-fg4c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7cxr-h8wm-fg4c
Aliases
Published
2023-01-14T12:30:23Z
Modified
2024-02-16T08:23:48.417435Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Apache Shiro Interpretation Conflict vulnerability
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
{
    "nvd_published_at": "2023-01-14T10:15:00Z",
    "cwe_ids": [
        "CWE-436"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-01-20T21:50:25Z"
}
References

Affected packages

Maven / org.apache.shiro:shiro-root

Package

Name
org.apache.shiro:shiro-root
View open source insights on deps.dev
Purl
pkg:maven/org.apache.shiro/shiro-root

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.0

Affected versions

1.*

1.0.0-incubating
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.4.0-RC2
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.5.2
1.5.3
1.6.0
1.7.0
1.7.1
1.8.0
1.9.0
1.9.1
1.10.0
1.10.1