Auth bypass in Alpine Project
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 class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.007 (49.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 50th percentile — 49.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Alpine Project
- Stevespringett Alpine — versions < 1.10.4
Weakness classification (CWE)
References
- securitylab.github.com/advisories/GHSL-2021-1010-Alpine/ (Third Party Advisory)
- github.com/stevespringett/Alpine/blob/f03dbda46229c26145a5f9f7f2660cc2c386be02/… (Patch, Third Party Advisory)
- github.com/stevespringett/Alpine/releases/tag/alpine-parent-1.10.4 (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2022-23554?
- CVE-2022-23554 is a medium-severity vulnerability in Alpine Project, classified under Improper Authentication. CVSS score: 6.5/10. Published 2022-12-28.
- How severe is CVE-2022-23554?
- Medium severity. CVSS v3 base score is 6.5 out of 10.