CVE-2024-10451

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

State
Published
Severity
5.9 Medium
Published
Nov 25, 2024
Updated
Oct 13, 2026
Reserved
Oct 28, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:Nredhat

Weaknesses

  • CWE-798 Use of Hard-coded Credentials

Affected Products

ProductVersions
Red Hat build of Keycloak 24Red Hat
  • 24.0.9-1 and laterNot affected
Red Hat build of Keycloak 24Red Hat
  • 24-18 and laterNot affected
Red Hat build of Keycloak 24Red Hat
  • 24-18 and laterNot affected
Red Hat build of Keycloak 24.0.9Red Hat
    Red Hat build of Keycloak 26.0Red Hat
    • 26.0.6-2 and laterNot affected
    Red Hat build of Keycloak 26.0Red Hat
    • 26.0-5 and laterNot affected
    Red Hat build of Keycloak 26.0Red Hat
    • 26.0-6 and laterNot affected
    Red Hat build of Keycloak 26.0.6Red Hat
      Red Hat JBoss Enterprise Application Platform 8Red Hat
        Red Hat Single Sign-On 7Red Hat

          References

          Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.