Vulnerability in Red Hat Build Of Keycloak 24

CVE-2024-10451

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.

EPSS: 0.009 (57.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-10451?
CVE-2024-10451 is a medium-severity vulnerability in Red Hat Build Of Keycloak 24, classified under Use of Hard-coded Credentials. CVSS score: 5.9/10. Published 2024-11-25.
How severe is CVE-2024-10451?
Medium severity. CVSS v3 base score is 5.9 out of 10.