Skip to content
OpenAdvisories

Description

A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This issue could allow an attacker to submit a specially crafted request leading to cross-site scripting (XSS) or further attacks. This flaw is the result of an incomplete fix for CVE-2020-10748.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat build of Keycloak 22 — —
Red Hat Red Hat build of Keycloak 22.0.7 — —
Red Hat Red Hat Single Sign-On 7 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 — —
Red Hat RHEL-8 based Middleware Containers — —
Red Hat Single Sign-On 7.6.6 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.11-2.redhat_00003.1.el7sso RHSA-2024:0800, RHSA-2024:0799, RHSA-2024:0798

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services < 23.0.3 23.0.3 GHSA-cvg2-7c3j-g36j

Advisories 7

References