Improperly Implemented Security Check for Standard Affecting rh-sso7-keycloak package, versions <0:18.0.8-1.redhat_00001.1.el8sso


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.23% (62nd 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-RHEL8-RHSSO7KEYCLOAK-5743022
  • published27 Jun 2023
  • disclosed26 Jun 2023

Introduced: 26 Jun 2023

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

How to fix?

Upgrade RHEL:8 rh-sso7-keycloak to version 0:18.0.8-1.redhat_00001.1.el8sso or higher.
This issue was patched in RHSA-2023:3884.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-sso7-keycloak package and not the rh-sso7-keycloak package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

Keycloak's device authorization grant does not correctly validate the device code and client ID. An attacker client could abuse the missing validation to spoof a client consent request and trick an authorization admin into granting consent to a malicious OAuth client or possible unauthorized access to an existing OAuth client.

CVSS Scores

version 3.1