Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. us.springett/alpine
  4. ›
  5. CVE-2022-23554

CVE-2022-23554: Alpine allows Authentication Filter bypass

August 5, 2024

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

  • github.com/advisories/GHSA-whr2-9x5f-5c79
  • github.com/stevespringett/Alpine
  • github.com/stevespringett/Alpine/blob/f03dbda46229c26145a5f9f7f2660cc2c386be02/alpine/src/main/java/alpine/filters/AuthenticationFilter.java
  • github.com/stevespringett/Alpine/releases/tag/alpine-parent-1.10.4
  • nvd.nist.gov/vuln/detail/CVE-2022-23554
  • securitylab.github.com/advisories
  • securitylab.github.com/advisories/GHSL-2021-1010-Alpine

Code Behaviors & Features

Detect and mitigate CVE-2022-23554 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.10.4

Fixed versions

  • 1.10.4

Solution

Upgrade to version 1.10.4 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

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

Source file

maven/us.springett/alpine/CVE-2022-23554.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:03 +0000.