Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 5.9epss 0.9%
exploitation probability
0.9%top 41% of all CVEs
observed exploitation
nono source reports it
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:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
Red Hat · Red Hat build of Keycloak 24Red Hat · Red Hat build of Keycloak 24.0.9Red Hat · Red Hat build of Keycloak 26.0Red Hat · Red Hat build of Keycloak 26.0.6Red Hat · Red Hat JBoss Enterprise Application Platform 8Red Hat · Red Hat Single Sign-On 7References
https://access.redhat.com/errata/RHSA-2024:10175https://access.redhat.com/errata/RHSA-2024:10176https://access.redhat.com/errata/RHSA-2024:10177https://access.redhat.com/errata/RHSA-2024:10178https://access.redhat.com/security/cve/CVE-2024-10451https://bugzilla.redhat.com/show_bug.cgi?id=2322096