CVE-2023-22602

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-22602
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-22602.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-22602
Aliases
Related
Published
2023-01-14T10:15:09Z
Modified
2024-10-12T10:40:06.421396Z
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
[none]
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

References

Affected packages

Debian:11 / shiro

Package

Name
shiro
Purl
pkg:deb/debian/shiro?arch=source

Affected ranges

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

Affected versions

1.*

1.3.2-4
1.3.2-4+deb11u1
1.3.2-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / shiro

Package

Name
shiro
Purl
pkg:deb/debian/shiro?arch=source

Affected ranges

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

Affected versions

1.*

1.3.2-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / shiro

Package

Name
shiro
Purl
pkg:deb/debian/shiro?arch=source

Affected ranges

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

Affected versions

1.*

1.3.2-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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

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