CVE-2024-10451
MEDIUM 5.9CVSS 3.1Keycloak Build Process Exposes Sensitive Data
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.
- Published
- 25 Nov 2024
- Last modified
- 21 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Deferred
- Weakness
- CWE-798
- Also known as
- GHSA-v7gv-xpgf-6395
- Sources
- NVDJSONOSV GHSA-v7gv-xpgf-6395JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | secalert@redhat.com (Secondary) | 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 |
| OSV | GitHub | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.keycloak:keycloak-quarkus-server | < 24.0.9 | 24.0.9 |
| OSV | Maven | org.keycloak:keycloak-quarkus-server | >= 25.0.0, < 26.0.6 | 26.0.6 |
References
- https://access.redhat.com/errata/RHSA-2024:10175 · WEB
- https://access.redhat.com/errata/RHSA-2024:10176 · WEB
- https://access.redhat.com/errata/RHSA-2024:10177 · WEB
- https://access.redhat.com/errata/RHSA-2024:10178 · WEB
- https://access.redhat.com/security/cve/CVE-2024-10451 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2322096 · WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-v7gv-xpgf-6395 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-10451 · ADVISORY
- https://github.com/keycloak/keycloak/commit/198214310eb45b86707f823ccb5a2d65c814b528 · WEB
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 25 Nov 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Nov 2024)