~ / search / GHSA-whr2-9x5f-5c79

GHSA-whr2-9x5f-5c79

Alpine allows Authentication Filter bypass

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-23554

Packages

EcosystemPackageAffectedFixed in
Maven us.springett:alpine < 1.10.4 1.10.4

Details

As written in the advisory (Markdown source, shown as plain 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.

References

External links from the advisory. They lead to third-party sites.