LLMKubeに任意のホストファイルを読み取られる脆弱性
Summary
namespaceの利用者がModelのspec.sourceに任意のパスを指定すると、コントローラーのPodやノード上のファイルを読み取られ、認証情報が外部に持ち出される脆弱性です。影響を受けるのは0.9.0より前のLLMKubeで、0.9.0で修正されています。0.9.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.
namespaceの利用者がModelのspec.sourceに任意のパスを指定すると、コントローラーのPodやノード上のファイルを読み取られ、認証情報が外部に持ち出される脆弱性です。影響を受けるのは0.9.0より前のLLMKubeで、0.9.0で修正されています。0.9.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| defilantechLLMKube | — | Not listed |
| Gogithub.com/defilantech/llmkube |
< 0.9.0→ 0.9.0 |
0.9.0 |
Original description The description as published by the source.
LLMKube is a Kubernetes operator for self-hosted large language model inference across heterogeneous hardware. Prior to 0.9.0, the ModelReconciler accepts arbitrary absolute paths and file:// URIs in Model.spec.source without restricting them to approved roots. A namespace user who can create or update Model and InferenceService resources can cause copyLocalModel to open an attacker-selected file in the controller pod or cause a HostPathVolumeSource to mount an attacker-selected node file when modelCache.enabled is enabled, which is the default. The selected file is copied into model storage and can expose controller service-account credentials or other node secrets outside the attacker's namespace. This issue is fixed in version 0.9.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com