Authorization Bypass Through User-Controlled Key Affecting rh-sso7-keycloak package, versions <0:15.0.6-1.redhat_00002.1.el8sso


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.31% (68th 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-3389179
  • published26 Mar 2023
  • disclosed19 Apr 2022

Introduced: 19 Apr 2022

CVE-2022-1245  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade RHEL:8 rh-sso7-keycloak to version 0:15.0.6-1.redhat_00002.1.el8sso or higher.
This issue was patched in RHSA-2022:1712.

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.

A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.

CVSS Base Scores

version 3.1