Keycloak: exposure of sensitive information in pushed authorization requests (par) kc_restart cookie

Summary

CVECVE-2024-4540
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-06-03 16:15:08 UTC
Updated2026-10-09 17:16:39 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS: 0.005510000 probability, percentile 0.444600000 (date 2026-10-11)

Problem Types: CWE-312 | CWE-312 Cleartext Storage of Sensitive Information


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
3.1CNACVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Build Of Keycloak Not specified Not specified
CNA Red Hat Red Hat Build Of Keycloak Not specified Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22.0.11-2 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22-15 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 22 unaffected 22-18 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 24 unaffected 24.0.5-2 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 24 unaffected 24-10 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 24 unaffected 24-10 * rpm Not specified
CNA Red Hat Red Hat Single Sign-On 7 Not specified Not specified
CNA Red Hat Red Hat Single Sign-On 7.6 For RHEL 7 unaffected 0:18.0.14-1.redhat_00001.1.el7sso * rpm Not specified
CNA Red Hat Red Hat Single Sign-On 7.6 For RHEL 8 unaffected 0:18.0.14-1.redhat_00001.1.el8sso * rpm Not specified
CNA Red Hat Red Hat Single Sign-On 7.6 For RHEL 9 unaffected 0:18.0.14-1.redhat_00001.1.el9sso * rpm Not specified
CNA Red Hat RHEL-8 Based Middleware Containers unaffected 7.6-49 * rpm Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2024:3566 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:3568 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
bugzilla.redhat.com/show_bug.cgi af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
access.redhat.com/errata/RHSA-2024:3573 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:3575 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:3576 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:3574 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:3572 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:3570 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/security/cve/CVE-2024-4540 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:3567 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Manuel Schallar for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2024-05-06T00:00:00.000ZReported to Red Hat.
CNA2024-06-03T00:00:00.000ZMade public.

Workarounds

CNA: 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report