Authentication Bypass by Spoofing Affecting org.keycloak:keycloak-server-spi-private package, versions [,21.1.2)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.1% (43rd 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 IDSNYK-JAVA-ORGKEYCLOAK-5750277
  • published2 Jul 2023
  • disclosed30 Jun 2023
  • creditTimo Müller

Introduced: 30 Jun 2023

CVE-2023-2585  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-server-spi-private to version 21.1.2 or higher.

Overview

org.keycloak:keycloak-server-spi-private is an open source identity and access management solution for modern applications and services.

Affected versions of this package are vulnerable to Authentication Bypass by Spoofing within the Keycloak Device Authorisation Grant due to improper verification of the device code holder. Exploiting this vulnerability is possible under certain pre-conditions and it allows an attacker to spoof parts of the device flow and use a device_code to retrieve an access token for other OAuth clients.

References

CVSS Scores

version 3.1