GHSA-v7gv-xpgf-6395

Keycloak Build Process Exposes Sensitive Data

At a glance

Published
Updated
CVE
CVE-2024-10451
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Description

A flaw was found in Keycloak. This issue occurs because sensitive runtime values, such as passwords, may be captured during the Keycloak build process and embedded as default values in bytecode, leading to unintended information disclosure. In Keycloak 26, sensitive data specified directly in environment variables during the build process is also stored as a default values, making it accessible during runtime. Indirect usage of environment variables for SPI options and Quarkus properties is also vulnerable due to unconditional expansion by PropertyMapper logic, capturing sensitive data as default values in all Keycloak versions up to 26.0.2.

Affected packages

PackageVersions
Maven · org.keycloak:keycloak-quarkus-serverintroduced 0, fixed 24.0.9
Maven · org.keycloak:keycloak-quarkus-serverintroduced 25.0.0, fixed 26.0.6

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database