Bug 2322096 (CVE-2024-10451) - CVE-2024-10451 org.keycloak:keycloak-quarkus-server: Sensitive Data Exposure in Keycloak Build Process
Summary: CVE-2024-10451 org.keycloak:keycloak-quarkus-server: Sensitive Data Exposure ...
Keywords:
Status: NEW
Alias: CVE-2024-10451
Deadline: 2024-11-21
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-28 07:40 UTC by OSIDB Bzimport
Modified: 2024-11-27 20:41 UTC (History)
34 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:10175 0 None None None 2024-11-21 19:23:30 UTC
Red Hat Product Errata RHSA-2024:10176 0 None None None 2024-11-21 19:23:59 UTC
Red Hat Product Errata RHSA-2024:10177 0 None None None 2024-11-21 19:24:33 UTC
Red Hat Product Errata RHSA-2024:10178 0 None None None 2024-11-21 19:24:56 UTC

Description OSIDB Bzimport 2024-10-28 07:40:12 UTC
Sensitive runtime values in Keycloak (up to version 26.0.2) are captured during the build process as default values embedded in bytecode, potentially exposing them during runtime. Affected options include those with the "kc" prefix, SPI runtime options, and Quarkus properties. Environment variables set directly in Keycloak 26 or indirectly in all versions expand unconditionally due to PropertyMapper logic, embedding sensitive data into the bytecode. This unintentional behavior risks sensitive information exposure in production builds.

Comment 2 errata-xmlrpc 2024-11-21 19:23:27 UTC
This issue has been addressed in the following products:

  Red Hat build of Keycloak 24

Via RHSA-2024:10175 https://access.redhat.com/errata/RHSA-2024:10175

Comment 3 errata-xmlrpc 2024-11-21 19:23:57 UTC
This issue has been addressed in the following products:

  Red Hat build of Keycloak 24.0.9

Via RHSA-2024:10176 https://access.redhat.com/errata/RHSA-2024:10176

Comment 4 errata-xmlrpc 2024-11-21 19:24:30 UTC
This issue has been addressed in the following products:

  Red Hat build of Keycloak 26.0

Via RHSA-2024:10177 https://access.redhat.com/errata/RHSA-2024:10177

Comment 5 errata-xmlrpc 2024-11-21 19:24:54 UTC
This issue has been addressed in the following products:

  Red Hat build of Keycloak 26.0.6

Via RHSA-2024:10178 https://access.redhat.com/errata/RHSA-2024:10178

Comment 6 Chess Hazlett 2024-11-27 20:41:57 UTC
commit: https://github.com/keycloak/keycloak/pull/35246/files


Note You need to log in before you can comment on or make changes to this bug.