CVE-2022-23554: Alpine allows Authentication Filter bypass
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.25892%
CWE
Published
8/5/2024
Updated
8/5/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
us.springett:alpine | maven | < 1.10.4 | 1.10.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the use of request.getRequestUri().getPath().contains("/api/swagger") in the AuthenticationFilter's filter method. This check fails to account for URL-encoded path parameters and path normalization, allowing attackers to craft URLs that satisfy the contains() condition while bypassing intended access controls. The direct match between the described bypass technique and the code structure confirms this function as the root cause.