CVE-2024-10451
Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process
- State
- Published
- Severity
- 5.9 Medium
- Published
- Nov 25, 2024
- Updated
- Oct 13, 2026
- Reserved
- Oct 28, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.9 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | redhat |
Weaknesses
- CWE-798 Use of Hard-coded Credentials
Affected Products
| Product | Versions |
|---|---|
Red Hat build of Keycloak 24Red Hat |
|
Red Hat build of Keycloak 24Red Hat |
|
Red Hat build of Keycloak 24Red Hat |
|
Red Hat build of Keycloak 24.0.9Red Hat | |
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0.6Red Hat | |
Red Hat JBoss Enterprise Application Platform 8Red Hat | |
Red Hat Single Sign-On 7Red Hat |
References
- RHSA-2024:10175vendor-advisory
- RHSA-2024:10176vendor-advisory
- RHSA-2024:10177vendor-advisory
- RHSA-2024:10178vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-10451vdb-entry
- RHBZ#2322096issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.