Alpine allows Authentication Filter bypass
Alpine is a scaffolding library in Java. Alpine prior to version 1.10.4 allows Authentication Filter bypass. The AuthenticationFilter relies on the request URI to evaluate if the user is accessing the swagger endpoint. By accessing a URL with a path such as /api/foo;%2fapi%2fswagger the contains condition will hold and will return from the authentication filter without aborting the request. Note that the principal object will not be assigned and therefore the issue wont allow user impersonation. This issue has been fixed in version 1.10.4. There are no known workarounds.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | us.springett:alpine | < 1.10.4 | 1.10.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-23554
- https://github.com/stevespringett/Alpine
- https://github.com/stevespringett/Alpine/blob/f03dbda46229c26145a5f9f7f2660cc2c386be02/alpine/src/main/java/alpine/filters/AuthenticationFilter.java#L58-L60
- https://github.com/stevespringett/Alpine/releases/tag/alpine-parent-1.10.4
- https://securitylab.github.com/advisories
- https://securitylab.github.com/advisories/GHSL-2021-1010-Alpine
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N- Weakness (CWE)
CWE-287, CWE-697- Platform
- Java / Kotlin (Maven)
- Package
us.springett:alpine- Disclosed
- 05.08.2024
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-whr2-9x5f-5c79 - CC BY 4.0
Vulnerability history: us.springett:alpine
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 08.2024 08.2024
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2024: 2
- 2025: 0
- 2026: 0
-
Alpine allows Authentication Filter bypass this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.