NetSight
high5.9

CVE-2024-10451

Keycloak Build Process Exposes Sensitive Data

Impact

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

EcosystemPackageAffectedFixed in
mavenorg.keycloak:keycloak-quarkus-server< 24.0.924.0.9

Affected products

ProductAffected versions
All Keycloak
before 26.0.2.

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References