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
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-10451
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-10451
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:10175
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:10176
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:10177
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:10178
access.redhat.com
https://access.redhat.com/security/cve/CVE-2024-10451
bugzilla.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2322096
More from Red Hat build of Keycloak 24
7.7
CVE-2024-8698
Keycloak-saml-core: improper verification of saml responses leading to privilege escalation in keycloak
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-8883
Keycloak: vulnerable redirect uri validation results in open redirec
