CVE-2024-10451
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.
How to fix
- org.keycloak:keycloak-quarkus-server24.0.9, 26.0.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.keycloak:keycloak-quarkus-serverMaven | v < 24.0.9, 25.0.0 ≤ v < 26.0.6 | 24.0.9, 26.0.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.