HIGH7.5
GHSA-69fp-7c8p-crjr
Keycloak exposes sensitive information in Pushed Authorization Requests (PAR)
Quick fix
GHSA-69fp-7c8p-crjr — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.
# pom.xml: bump <version>24.0.5</version> for org.keycloak:keycloak-servicesDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-services
Introduced in:
0Fixed in: 24.0.5Fix
# pom.xml: bump <version>24.0.5</version> for org.keycloak:keycloak-servicesReferences
- https://github.com/keycloak/keycloak/security/advisories/GHSA-69fp-7c8p-crjr[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-4540[ADVISORY]
- https://github.com/keycloak/keycloak/commit/2191cc26ae6deb52eeaf74046027b65804d16fd0[WEB]
- https://access.redhat.com/errata/RHSA-2024:3566[WEB]
- https://access.redhat.com/errata/RHSA-2024:3567[WEB]
- https://access.redhat.com/errata/RHSA-2024:3568[WEB]
- https://access.redhat.com/errata/RHSA-2024:3570[WEB]
- https://access.redhat.com/errata/RHSA-2024:3572[WEB]
- https://access.redhat.com/errata/RHSA-2024:3573[WEB]
- https://access.redhat.com/errata/RHSA-2024:3574[WEB]
- https://access.redhat.com/errata/RHSA-2024:3575[WEB]
- https://access.redhat.com/errata/RHSA-2024:3576[WEB]
- https://access.redhat.com/security/cve/CVE-2024-4540[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2279303[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]