Medium [CVE-2024-10451] Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process
This medium-severity Red Hat Linux advisory covers CVE-2024-10451 affecting Red Hat build of Keycloak 24.0.9, Red Hat build of Keycloak 26.0.6, Red Hat Single Sign-On 7.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Summary
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. Red Hat Enterprise Application Platform 8 does not ship the affected component and so is not affected by this flaw.
Red Hat severity: Moderate — CVSS 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N). Weakness: CWE-798.
Affected Red Hat products: Red Hat build of Keycloak 24; Red Hat build of Keycloak 24.0.9; Red Hat build of Keycloak 26.0; Red Hat build of Keycloak 26.0.6; Red Hat Single Sign-On 7. Will not fix / out of support: Red Hat Single Sign-On 7.
Red Hat fixing advisory: RHSA-2024:10175, RHSA-2024:10176, RHSA-2024:10177, RHSA-2024:10178.
- 26.0.2
Official advisory · high-confidence parse· fetched 17 days ago·verify at source
- rhbk/keycloak-operator-bundle:24.0.9-1
- rhbk/keycloak-rhel9:24-18
- rhbk/keycloak-rhel9-operator:24-18
- rhbk/keycloak-operator-bundle:26.0.6-2
- rhbk/keycloak-rhel9:26.0-5
- rhbk/keycloak-rhel9-operator:26.0-6
- RHSA-2024:10175
- RHSA-2024:10176
- RHSA-2024:10177
- RHSA-2024:10178
Official advisory · high-confidence parse· fetched 17 days ago·verify at source
Mitigation
Upgrade to a fixed release: rhbk/keycloak-operator-bundle:24.0.9-1, rhbk/keycloak-rhel9:24-18, rhbk/keycloak-rhel9-operator:24-18, rhbk/keycloak-operator-bundle:26.0.6-2, rhbk/keycloak-rhel9:26.0-5, rhbk/keycloak-rhel9-operator:26.0-6. That is the remediation for this advisory.
The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.
Official advisory · high-confidence parse· fetched 17 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.