Vulnerability · Published Dec 28, 2022 · Assigned by GitHub_M

CVE-2022-23554Authentication bypass in Alpine

Medium 6.5

In plain English

A medium-severity improper authentication in alpine from stevespringett. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.7%top 46.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenus.springett:alpine1.10.4GHSA-whr2-9x5f-5c79

Affected products (as reported)

VendorProductVersions
stevespringett alpine < 1.10.4

Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References