GitHub Advisoryadvisory · Maven

GHSA-whr2-9x5f-5c79 Alpine allows Authentication Filter bypass

MEDIUM Published 2024-08-05 Modified 2024-08-05 Official page ↗
Aliases
CVE-2022-23554
Ecosystem
Maven
Packages
us.springett:alpine
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-287, CWE-697
Reviewed
2024-08-05

Affected packages

• Maven us.springett:alpine: < 1.10.4 → fixed in 1.10.4

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.

Related

Alias · CVE (1)

  • CVE-2022-23554 Alpine is a scaffolding library in Java. vulnerability

Weakness · CWE (2)

  • CWE-287 Improper Authentication weakness
  • CWE-697 Incorrect Comparison weakness

References