Kubeflow Pipelinesに認可不備の脆弱性、別テナントのPodログが閲覧されるおそれ
Summary
Kubeflow Pipelinesの2.18.0より前のバージョンでは、実行ログを取得するAPIで呼び出し元の認可が行われず、別の実行や別の名前空間のPodのログが読み取られるおそれがあります。ログには業務データや認証情報が含まれることがあるため、影響は小さくありません。修正版は2.18.0なので、2.18.0以降へのアップデートを進めてください。外部からの到達性は認証の仕組みやネットワークポリシーで制限できますが、それだけに頼らず修正版への更新を優先することをおすすめします。
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.
Kubeflow Pipelinesの2.18.0より前のバージョンでは、実行ログを取得するAPIで呼び出し元の認可が行われず、別の実行や別の名前空間のPodのログが読み取られるおそれがあります。ログには業務データや認証情報が含まれることがあるため、影響は小さくありません。修正版は2.18.0なので、2.18.0以降へのアップデートを進めてください。外部からの到達性は認証の仕組みやネットワークポリシーで制限できますが、それだけに頼らず修正版への更新を優先することをおすすめします。
Original description The description as published by the source.
Summary
The Kubeflow Pipelines API server's GET /apis/v1alpha1/runs/{run_id}/nodes/{node_id}/log handler retrieves logs without authorizing the caller against the selected run. A caller who can reach the backend and knows a victim run ID and a suitable pod or node identifier can read live or archived logs using the API server's permissions.
For live logs, the vulnerable handler also accepts the supplied node ID as a pod name in the run's namespace without verifying that the pod belongs to the run. Depending on the API server's pod-log permissions, a known run ID can therefore permit reading the main container logs of an unrelated pod in that namespace. Logs may contain sensitive workload data or credentials.
The affected handler does not authenticate the request itself. An external authentication gate or network policy can restrict reachability; public ingress exposure and unauthenticated enumeration of run IDs are not assumed.
Remediation
Upgrade the API server to Kubeflow Pipelines 2.18.0. Versions through 2.17.3 are affected; the first affected release has not been established.
PR #13684 authorizes the caller with the readLog verb before retrieving live or archived logs. For live logs, it also verifies that the pod's pipeline/runid label matches the requested run. Custom Kubernetes roles must grant readLog on runs in the `pipelines.ku…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- REDHAT Red Hat
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com