CVE-2024-4540
Keycloak: exposure of sensitive information in pushed authorization requests (par) kc_restart cookie
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Deferred | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.55% · top 54% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
keycloak
- unaffected d5e82356f90893ca3b308a7e10020103e402369a – < *
Red Hat · Red Hat Build of Keycloak
All versions: unaffected
Red Hat · Red Hat Build of Keycloak
All versions: unaffected
Red Hat · Red Hat build of Keycloak 22
- unaffected 22.0.11-2 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-15 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-18 – < *
Red Hat · Red Hat build of Keycloak 24
- unaffected 24.0.5-2 – < *
Red Hat · Red Hat build of Keycloak 24
- unaffected 24-10 – < *
Red Hat · Red Hat build of Keycloak 24
- unaffected 24-10 – < *
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7
- unaffected 0:18.0.14-1.redhat_00001.1.el7sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8
- unaffected 0:18.0.14-1.redhat_00001.1.el8sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9
- unaffected 0:18.0.14-1.redhat_00001.1.el9sso – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6-49 – < *
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-servicesGHSA-69fp-7c8p-crjr (opens in a new tab)
What to do
Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (11)
- RHSA-2024:3566 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3567 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3568 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3570 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3572 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3573 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3574 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3575 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3576 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2024-4540 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2279303 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-69fp-7c8p-crjr (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-4540)Record last updated .