Vulnerability Details : CVE-2022-23554
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.
Vulnerability category: BypassGain privilege
Products affected by CVE-2022-23554
- cpe:2.3:a:alpine_project:alpine:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-23554
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 13 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-23554
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
2.8
|
2.5
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
3.9
|
2.5
|
GitHub, Inc. |
CWE ids for CVE-2022-23554
-
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.Assigned by: security-advisories@github.com (Secondary)
-
The product compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-23554
-
https://github.com/stevespringett/Alpine/releases/tag/alpine-parent-1.10.4
Release alpine-parent-1.10.4 · stevespringett/Alpine · GitHubRelease Notes;Third Party Advisory
-
https://github.com/stevespringett/Alpine/blob/f03dbda46229c26145a5f9f7f2660cc2c386be02/alpine/src/main/java/alpine/filters/AuthenticationFilter.java#L58-L60
Alpine/AuthenticationFilter.java at f03dbda46229c26145a5f9f7f2660cc2c386be02 · stevespringett/Alpine · GitHubPatch;Third Party Advisory
-
https://securitylab.github.com/advisories/GHSL-2021-1010-Alpine/
GHSL-2021-1010: Authentication bypass in Alpine - CVE-2022-23554 | GitHub Security LabThird Party Advisory
Jump to