Use of Hard-coded Credentials Affecting keycloak-fips package, versions <26.0.6-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-KEYCLOAKFIPS-8421610
  • published27 Nov 2024
  • disclosed25 Nov 2024

Introduced: 25 Nov 2024

NewCVE-2024-10451  (opens in a new tab)
CWE-798  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade Chainguard keycloak-fips to version 26.0.6-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keycloak-fips package and not the keycloak-fips package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Scores

version 3.1