Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. CVE-2024-4540

CVE-2024-4540: Keycloak exposes sensitive information in Pushed Authorization Requests (PAR)

June 10, 2024 (updated July 31, 2024)

A flaw was found in Keycloak in the 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. This could lead to an information disclosure vulnerability.

References

  • access.redhat.com/errata/RHSA-2024:3566
  • access.redhat.com/errata/RHSA-2024:3567
  • access.redhat.com/errata/RHSA-2024:3568
  • access.redhat.com/errata/RHSA-2024:3570
  • access.redhat.com/errata/RHSA-2024:3572
  • access.redhat.com/errata/RHSA-2024:3573
  • access.redhat.com/errata/RHSA-2024:3574
  • access.redhat.com/errata/RHSA-2024:3575
  • access.redhat.com/errata/RHSA-2024:3576
  • access.redhat.com/security/cve/CVE-2024-4540
  • bugzilla.redhat.com/show_bug.cgi?id=2279303
  • github.com/advisories/GHSA-69fp-7c8p-crjr
  • github.com/keycloak/keycloak
  • github.com/keycloak/keycloak/commit/2191cc26ae6deb52eeaf74046027b65804d16fd0
  • github.com/keycloak/keycloak/security/advisories/GHSA-69fp-7c8p-crjr
  • nvd.nist.gov/vuln/detail/CVE-2024-4540

Code Behaviors & Features

Detect and mitigate CVE-2024-4540 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 24.0.5

Fixed versions

  • 24.0.5

Solution

Upgrade to version 24.0.5 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-922: Insecure Storage of Sensitive Information

Source file

maven/org.keycloak/keycloak-services/CVE-2024-4540.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.