CVE-2024-10451

Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process

Published Nov 25, 2024 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-3384 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.
Github GHSA Github GHSA GHSA-v7gv-xpgf-6395 Keycloak Build Process Exposes Sensitive Data
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak:26.0
Type Values Removed Values Added
First Time appeared Redhat red Hat Single Sign On
CPEs cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat red Hat Single Sign On
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title org.keycloak:keycloak-quarkus-server: Sensitive Data Exposure in Keycloak Build Process Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process
First Time appeared Redhat jboss Enterprise Application Platform
CPEs cpe:/a:redhat:jboss_enterprise_application_platform:8
Vendors & Products Redhat jboss Enterprise Application Platform
References
Type Values Removed Values Added
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.
Title org.keycloak:keycloak-quarkus-server: Sensitive Data Exposure in Keycloak Build Process
First Time appeared Redhat
Redhat build Keycloak
Weaknesses CWE-798
CPEs cpe:/a:redhat:build_keycloak:24
cpe:/a:redhat:build_keycloak:24::el9
cpe:/a:redhat:build_keycloak:26
cpe:/a:redhat:build_keycloak:26.0::el9
Vendors & Products Redhat
Redhat build Keycloak
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

threat_severity

Moderate

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Oct 13, 2026, 8:47 PM
Reserved
Oct 28, 2024, 7:34 AM
Status
Deferred
Published
Nov 25, 2024, 8:15 AM
Modified
Sep 21, 2026, 6:16 AM
Severity
Moderate
Public date
Nov 21, 2024, 4:55 PM