GitHub Advisoryadvisory · Maven
GHSA-v7gv-xpgf-6395 Keycloak Build Process Exposes Sensitive Data
HIGH
Official page ↗
- Aliases
- CVE-2024-10451
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-quarkus-server
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-798
- Reviewed
- 2024-11-25
Affected packages
• Maven org.keycloak:keycloak-quarkus-server: < 24.0.9 → fixed in 24.0.9
• Maven org.keycloak:keycloak-quarkus-server: >= 25.0.0, < 26.0.6 → fixed in 26.0.6
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.
Related
Alias · CVE (1)
- CVE-2024-10451 A flaw was found in Keycloak. vulnerability
Weakness · CWE (1)
- CWE-798 Use of Hard-coded Credentials weakness
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-v7gv-xpgf-6395 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-10451 advisory
- https://github.com/keycloak/keycloak/commit/198214310eb45b86707f823ccb5a2d65c814b528 web
- https://access.redhat.com/errata/RHSA-2024:10175 web
- https://access.redhat.com/errata/RHSA-2024:10176 web
- https://access.redhat.com/errata/RHSA-2024:10177 web
- https://access.redhat.com/errata/RHSA-2024:10178 web
- https://access.redhat.com/security/cve/CVE-2024-10451 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2322096 web
- https://github.com/keycloak/keycloak package