ubuntu-cve-2023-22602
Vulnerability from osv_ubuntu
Published
2023-01-14 10:15
Modified
2024-10-15 14:11
Summary
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
Severity
7.5 (High)
References
{
"affected": [
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "shiro",
"purl": "pkg:deb/ubuntu/shiro?arch=src?distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.2.4-1"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "shiro",
"purl": "pkg:deb/ubuntu/shiro?arch=src?distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.2-2",
"1.3.2-3~18.04",
"1.3.2-3~18.04.1",
"1.3.2-3ubuntu0.18.04.1~esm1"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "shiro",
"purl": "pkg:deb/ubuntu/shiro?arch=src?distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.2-4",
"1.3.2-4ubuntu0.1",
"1.3.2-4ubuntu0.2"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "shiro",
"purl": "pkg:deb/ubuntu/shiro?arch=src?distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.2-4",
"1.3.2-5"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:24.10",
"name": "shiro",
"purl": "pkg:deb/ubuntu/shiro?arch=src?distro=oracular"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.2-5"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "shiro",
"purl": "pkg:deb/ubuntu/shiro?arch=src?distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.2-5"
]
}
],
"aliases": [],
"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 \u003c 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`",
"id": "UBUNTU-CVE-2023-22602",
"modified": "2024-10-15T14:11:20Z",
"published": "2023-01-14T10:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-22602"
},
{
"type": "REPORT",
"url": "https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-22602"
}
],
"related": [
"CVE-2023-22602"
],
"schema_version": "1.6.3",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
}
],
"withdrawn": "2025-06-23T15:56:48Z"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…