Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process (Red Hat Red Hat build of Keycloak 24)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.92 % · percentile 60 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-798 — Use of Hard-coded Credentials
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | redhat |
| CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · secalert@redhat.com (Secondary) |
Advisories
- GHSA-v7gv-xpgf-6395 — Keycloak Build Process Exposes Sensitive Data
European references
- ENISA EUVD · EUVD-2024-3384
- GCVE · GCVE-0-2024-10451
Affected products
| Product | Versions |
|---|---|
| Red Hat · Red Hat build of Keycloak 24 | unaffected 24.0.9-1 < * |
| Red Hat · Red Hat build of Keycloak 24 | unaffected 24-18 < * |
| Red Hat · Red Hat build of Keycloak 24 | unaffected 24-18 < * |
| Red Hat · Red Hat build of Keycloak 24.0.9 | |
| Red Hat · Red Hat build of Keycloak 26.0 | unaffected 26.0.6-2 < * |
| Red Hat · Red Hat build of Keycloak 26.0 | unaffected 26.0-5 < * |
| Red Hat · Red Hat build of Keycloak 26.0 | unaffected 26.0-6 < * |
| Red Hat · Red Hat build of Keycloak 26.0.6 | |
| Red Hat · Red Hat JBoss Enterprise Application Platform 8 | |
| Red Hat · Red Hat Single Sign-On 7 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |