Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS13aHIyLTl4NWYtNWM3Oc4AA-Yk
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.
Permalink: https://github.com/advisories/GHSA-whr2-9x5f-5c79JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13aHIyLTl4NWYtNWM3Oc4AA-Yk
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 4 months ago
Updated: 4 months ago
CVSS Score: 5.4
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Identifiers: GHSA-whr2-9x5f-5c79, CVE-2022-23554
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-23554
- 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
- https://github.com/advisories/GHSA-whr2-9x5f-5c79
Blast Radius: 4.9
Affected Packages
maven:us.springett:alpine
Dependent packages: 0Dependent repositories: 8
Downloads:
Affected Version Ranges: < 1.10.4
Fixed in: 1.10.4
All affected versions: 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.9.0, 1.9.1, 1.9.2, 1.10.0, 1.10.1, 1.10.2, 1.10.3
All unaffected versions: 1.10.4, 1.10.5