Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process (Red Hat Red Hat build of Keycloak 24)

CVE-2024-10451
MEDIUM 5.9

At a glance

Source
NVD
EPSS
EPSS 0.92 % · percentile 60 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-798 — Use of Hard-coded Credentials

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:Nredhat
CVSS 3.1MEDIUM 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NNVD · secalert@redhat.com (Secondary)

Advisories

European references

Affected products

ProductVersions
Red Hat · Red Hat build of Keycloak 24unaffected 24.0.9-1 < *
Red Hat · Red Hat build of Keycloak 24unaffected 24-18 < *
Red Hat · Red Hat build of Keycloak 24unaffected 24-18 < *
Red Hat · Red Hat build of Keycloak 24.0.9
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0.6-2 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-5 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-6 < *
Red Hat · Red Hat build of Keycloak 26.0.6
Red Hat · Red Hat JBoss Enterprise Application Platform 8
Red Hat · Red Hat Single Sign-On 7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD