CVE-2024-4540 json
Keycloak: exposure of sensitive information in pushed authorization requests (par) kc_restart cookie
published 2024-06-03 2 y ago modified 2026-10-09 30 d ago also GHSA-69fp-7c8p-crjr , EUVD-2024-1945
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
A flaw was found in Keycloak in OAuth 2.0 Pushed Authorization Requests (PAR). Client-provided parameters were found to be included in plain text in the KC_RESTART cookie returned by the authorization server's HTTP response to a `request_uri` authorization request, possibly leading to an information disclosure vulnerability.
Patch / fix
- maven org.keycloak:keycloak-services 24.0.5
- Red Hat Red Hat build of Keycloak 22 22-15, 22-18, 22.0.11-2
- Red Hat Red Hat build of Keycloak 24 24-10, 24.0.5-2
- Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 0:18.0.14-1.redhat_00001.1.el7sso
- Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 0:18.0.14-1.redhat_00001.1.el8sso
- Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 0:18.0.14-1.redhat_00001.1.el9sso
- Red Hat RHEL-8 based Middleware Containers 7.6-49
- rh-sso7-keycloak red hat single sign on 7.6 18.0.14-1.redhat_00001.1.el9sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.14-1.redhat_00001.1.el9sso
- rh-sso7-keycloak red hat single sign on 7.6 18.0.14-1.redhat_00001.1.el8sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.14-1.redhat_00001.1.el8sso
- rh-sso7-keycloak red hat single sign on 7.6 18.0.14-1.redhat_00001.1.el7sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.14-1.redhat_00001.1.el7sso
red hat advisories RHSA-2024:3568RHSA-2024:3567RHSA-2024:3566
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-4540 updated cvss 7.5
keycloak: exposure of sensitive information in Pushed Authorization Requests (PAR) KC_RESTART cookie
-
Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-49fixed: vendor fix RHSA-2024:3570
-
Red Hat Build of Keycloakfixed: vendor fix RHSA-2024:3574
-
Red Hat build of Keycloak 22 rhbk/keycloak-rhel9 22-15, rhbk/keycloak-rhel9-operator 22-18, rhbk/keycloak-operator-bundle 22.0.11-2fixed: vendor fix RHSA-2024:3573
-
Red Hat build of Keycloak 24 rhbk/keycloak-rhel9 24-10, rhbk/keycloak-rhel9-operator 24-10, rhbk/keycloak-operator-bundle 24.0.5-2fixed: vendor fix RHSA-2024:3576
-
Red Hat Single Sign-On 7fixed: vendor fix RHSA-2024:3572
-
Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.14-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.14-1.redhat_00001.1.el7ssofixed: vendor fix RHSA-2024:3566
-
Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.14-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.14-1.redhat_00001.1.el8ssofixed: vendor fix RHSA-2024:3567
-
Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak 18.0.14-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server 18.0.14-1.redhat_00001.1.el9ssofixed: vendor fix RHSA-2024:3568
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | <24.0.5 |
24.0.5 |
Affected products
- Red Hat Red Hat Build of Keycloak
- Red Hat Red Hat build of Keycloak 22
- Red Hat Red Hat build of Keycloak 24
- 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
Classification
References
-
github.com
/keycloak/keycloak/commit/2191cc26ae6deb52eeaf74046027b65804d16fd0
web
-
access.redhat.com
/errata/RHSA-2024:3566
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3567
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3568
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3570
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3572
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3573
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3574
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3575
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2024:3576
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2024-4540
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2279303
issue-tracking, web
-
github.com
/keycloak/keycloak/security/advisories/GHSA-69fp-7c8p-crjr
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-4540
advisory
-
github.com
/keycloak/keycloak
package
Sources
- CVE List CVE-2024-4540
- GitHub Advisory GHSA-69fp-7c8p-crjr
- NVD CVE-2024-4540
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.