NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-10451: Keycloak Build Process Exposes Sensitive Data

highCVSS 4.0 8.2 · 3.1 5.9GHSA-v7gv-xpgf-6395

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.

Published Nov 25, 2024 · Updated Nov 26, 2024

Affected packages

org.keycloak:keycloak-quarkus-server

Ecosystem
Maven
Affected
< 24.0.9
Fixed in
24.0.9
Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-quarkus-server

org.keycloak:keycloak-quarkus-server

Ecosystem
Maven
Affected
>= 25.0.0, < 26.0.6
Fixed in
26.0.6
Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-quarkus-server

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to shawkins.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries