{"id":"CVE-2022-23554","published":"2022-12-28T18:12:41Z","modified":"2025-04-10T20:25:57Z","title":"Authentication bypass in Alpine","vendor":"stevespringett","product":"alpine","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00716,"percentile":0.54663,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-1010-Alpine/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/stevespringett/Alpine/blob/f03dbda46229c26145a5f9f7f2660cc2c386be02/alpine/src/main/java/alpine/filters/AuthenticationFilter.java#L58-L60","tags":["x_refsource_MISC"]},{"url":"https://github.com/stevespringett/Alpine/releases/tag/alpine-parent-1.10.4","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.93},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"stevespringett","affectedVersions":[{"vendor":"stevespringett","product":"alpine","versions":["< 1.10.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-10T20:25:40.304966Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"us.springett:alpine","vulnerableRanges":["<1.10.4"],"patched":["1.10.4"],"from":["GHSA-whr2-9x5f-5c79"],"provenance":"source"}],"summary":{"text":"The Alpine Java scaffolding library (product \"alpine\", from stevespringett) contains an authentication bypass in its AuthenticationFilter, which decides whether a request targets the swagger endpoint by checking the request URI. An attacker can reach protected endpoints over the network without authentication or user interaction, by crafting a URL path such as one containing an encoded \"/api/swagger\" segment, which causes the filter to return without aborting the request; because no principal is assigned, this exposes the bypassed resources but does not allow impersonating a user.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:31Z"},"euvd":{"id":"EUVD-2024-2678","exploited":false,"provenance":"source"}}