Eclipse BaSyx Helm Chartsで管理者のパスワードが平文で保存される脆弱性
Summary
Eclipse BaSyx Helm Chartsの3.0.0-rc.1から3.12.1までの版で、同梱のKeycloakを有効にすると、ユーザーのパスワードがConfigMapに平文で保存されます。ConfigMapを読める権限があれば管理者としてKeycloakにログインされるおそれがあり、CVSSは7.5です。修正版はバージョン3.12.2で、利用中の方は更新し、チャートで作成したユーザーのパスワードも変更してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Eclipse BaSyx Helm Chartsの3.0.0-rc.1から3.12.1までの版で、同梱のKeycloakを有効にすると、ユーザーのパスワードがConfigMapに平文で保存されます。ConfigMapを読める権限があれば管理者としてKeycloakにログインされるおそれがあり、CVSSは7.5です。修正版はバージョン3.12.2で、利用中の方は更新し、チャートで作成したユーザーのパスワードも変更してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Eclipse FoundationEclipse BaSyx Helm Charts |
≥ 3.0.0-rc.1, < 3.12.2→ 3.12.2 |
3.12.2 |
Original description The description as published by the source.
In Eclipse BaSyx Helm Charts versions 3.0.0-rc.1 to 3.12.1 of the basyx chart, deployments with the bundled Keycloak enabled store the passwords of the Keycloak users that the chart creates in cleartext in a Kubernetes ConfigMap.
The template keycloak-init-config.yaml rendered keycloak.initialization.users, including each user's credentials[].value, as users.json into the persistent ConfigMap -basyx-keycloak-init-config. By default this includes the bootstrap administrator user. That user holds the admin role and has a non-temporary password. A principal that can read ConfigMaps but not Secrets in the release namespace, such as a holder of the built-in Kubernetes view ClusterRole, can read the password from the ConfigMap and log in to Keycloak as this user. The resulting token carries the admin role, which the default BaSyx ABAC rules map to full rights on all BaSyx APIs in the deployment.
The bundled Keycloak is disabled by default. The issue is fixed in version 3.12.2 of the basyx chart, which moves the initialization users to the Keycloak credentials Secret. Affected users should upgrade and change the passwords of users that were created through the chart.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web gitlab.eclipse.org
- web github.com