Duplicate Advisory: Keycloak Build Process Exposes Sensitive Data
Moderate severity
GitHub Reviewed
Published
Nov 25, 2024
to the GitHub Advisory Database
•
Updated Nov 25, 2024
Withdrawn
This advisory was withdrawn on Nov 25, 2024
Package
Affected versions
< 24.0.9
>= 25.0.0, < 26.0.6
Patched versions
24.0.9
26.0.6
Description
Published by the National Vulnerability Database
Nov 25, 2024
Published to the GitHub Advisory Database
Nov 25, 2024
Last updated
Nov 25, 2024
Reviewed
Nov 25, 2024
Withdrawn
Nov 25, 2024
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-v7gv-xpgf-6395. This link is maintained to preserve external references.
Original 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.
References