CVEvulnerability

CVE-2022-23554

5.4 MEDIUM Published 2022-12-28 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-12-28
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS 3.1 ([email protected])
5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-287, CWE-697

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.

Affected configurations

• alpine project alpine (< 1.10.4)

Related

Weakness · CWE (2)

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

References