Description
A flaw was found in Keycloak. This issue may allow an attacker to steal authorization codes or tokens from clients using a wildcard in the JARM response mode "form_post.jwt" which could be used to bypass the security patch implemented to address CVE-2023-6134.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 22 | — | — |
| Red Hat | Red Hat build of Keycloak 22.0.8 | — | — |
| 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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Single Sign On 7 | rh-sso7-keycloak +1 | 18.0.11-3.redhat_00001.1.el7sso | RHSA-2024:0800, RHSA-2024:0799, RHSA-2024:0798 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-core | < 23.0.4 | 23.0.4 | GHSA-9vm7-v8wj-3fqw |
Advisories 7
- RHSA-2024:0800 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.7 security update on RHEL 9 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2024:0799 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.7 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2024:0798 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.7 security update on RHEL 7 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2024:0096 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.6 security update on RHEL 9 Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2024:0095 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.6 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2024:0094 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.6 security update on RHEL 7 Red Hat Security Advisories (RHSA) · Sep 22, 2026
- WID-SEC-2023-3173 Keycloak: Schwachstelle ermöglicht Cross-Site Scripting BSI CERT-Bund (WID) · Jul 1, 2024
References
- RHSA-2024:0094 vendor-advisory
- RHSA-2024:0095 vendor-advisory
- RHSA-2024:0096 vendor-advisory
- RHSA-2024:0097 vendor-advisory
- RHSA-2024:0098 vendor-advisory
- RHSA-2024:0100 vendor-advisory
- RHSA-2024:0101 vendor-advisory
- RHSA-2024:0798 vendor-advisory
- RHSA-2024:0799 vendor-advisory
- RHSA-2024:0800 vendor-advisory
- RHSA-2024:0801 vendor-advisory
- RHSA-2024:0804 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-6927 vdb-entry
- RHBZ#2255027 issue-tracking