Moderate severityNVD Advisory· Published Dec 28, 2022· Updated Apr 10, 2025
Authentication bypass in Alpine
CVE-2022-23554
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
us.springett:alpineMaven | < 1.10.4 | 1.10.4 |
Affected products
2- Range: < 1.10.4
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-whr2-9x5f-5c79ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-23554ghsaADVISORY
- securitylab.github.com/advisories/GHSL-2021-1010-AlpineghsaADVISORY
- github.com/stevespringett/Alpine/blob/f03dbda46229c26145a5f9f7f2660cc2c386be02/alpine/src/main/java/alpine/filters/AuthenticationFilter.javaghsax_refsource_MISCWEB
- github.com/stevespringett/Alpine/releases/tag/alpine-parent-1.10.4ghsax_refsource_MISCWEB
- securitylab.github.com/advisoriesghsaWEB
- securitylab.github.com/advisories/GHSL-2021-1010-Alpine/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.