Access Restriction Bypass Affecting us.springett:alpine package, versions [,1.10.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-USSPRINGETT-6253357
  • published20 Feb 2024
  • disclosed29 Dec 2022
  • creditAlvaro Muñoz

Introduced: 29 Dec 2022

CVE-2022-23554  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade us.springett:alpine to version 1.10.4 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass due to the AuthenticationFilter relying 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: The principal object will not be assigned and therefore the issue won't allow user impersonation.

References

CVSS Scores

version 3.1