CVE-2024-10451
published medium CVSS 3.1 · 5.9Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 24 · 24.0.9-1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 24 · 24-18 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 24 · 24-18 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | Red Hat build of Keycloak 24.0.9 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.0 · 26.0.6-2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.0 · 26.0-5 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.0 · 26.0-6 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | Red Hat build of Keycloak 26.0.6 | Unaffected | Not required | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 24 | 24.0.9-1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 24 | 24-18 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 24 | 24-18 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 24.0.9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0.6-2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0-5 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0-6 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.0.6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: unknown | redhat · cna |
Weaknesses
1- CWE-798 Use of Hard-coded Credentials
References
6- RHSA-2024:10175 https://access.redhat.com/errata/RHSA-2024:10175
- RHSA-2024:10176 https://access.redhat.com/errata/RHSA-2024:10176
- RHSA-2024:10177 https://access.redhat.com/errata/RHSA-2024:10177
- RHSA-2024:10178 https://access.redhat.com/errata/RHSA-2024:10178
- https://access.redhat.com/security/cve/CVE-2024-10451
- RHBZ#2322096 https://bugzilla.redhat.com/show_bug.cgi?id=2322096
Provider assertions
2redhat · cna
Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- efed37e45b02ff463414bbe5d6e3cbe369241e2d2970603667c56540620cde63
- Ingested
- 13 Oct 2026, 23:45:57 UTC
- Source record
- Official CVE record