Описание
KubeAI is an AI inference operator for kubernetes. Prior to 0.23.2, the ollamaStartupProbeScript() function in internal/modelcontroller/engine_ollama.go constructs a shell command string using fmt.Sprintf with unsanitized model URL components (ref, modelParam). This shell command is executed via bash -c as a Kubernetes startup probe. An attacker who can create or update Model custom resources can inject arbitrary shell commands that execute inside model server pods. This vulnerability is fixed in 0.23.2.
Ссылки
- ExploitMitigationVendor Advisory
- ExploitMitigationVendor Advisory
Уязвимые конфигурации
Конфигурация 1Версия до 0.23.2 (исключая)
cpe:2.3:a:kubeai:kubeai:*:*:*:*:*:kubernetes:*:*
EPSS
Процентиль: 37%
0.00448
Низкий
8.7 High
CVSS3
8.8 High
CVSS3
Дефекты
CWE-78
Связанные уязвимости
CVSS3: 8.7
github
4 месяца назад
KubeAI: OS Command Injection via Model URL in Ollama Engine startup probe allows arbitrary command execution in model pods
EPSS
Процентиль: 37%
0.00448
Низкий
8.7 High
CVSS3
8.8 High
CVSS3
Дефекты
CWE-78