Medium severity · published Nov 25, 2024
CVE-2024-10451
Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process
5.9
CVSS
0.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 60% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat Single Sign-On 7 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat build of Keycloak 24 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat build of Keycloak 26.0 · Red Hat
All versions, or not specified · source: vendor
Affected product
RH
Red Hat build of Keycloak 24
Red Hat
More from Red Hat build of Keycloak 24
7.5
CVE-2024-4540
Keycloak: exposure of sensitive information in pushed authorization requests (par) kc_restart cookie
7.1
CVE-2024-7341
Wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adapters
6.5
CVE-2024-10270
Org.keycloak:keycloak-services: keycloak denial of service
6.1
CVE-2024-7260
Keycloak-core: open redirect on account page
4.8
CVE-2024-7318
Keycloak-core: one time passcode (otp) is valid longer than expiration timeseverity