中危 fluxcd kustomize-controller 对生成代码的控制不恰当(代码注入)
CVE编号
CVE-2022-24817利用情况
暂无补丁情况
官方补丁披露时间
2022-05-06漏洞描述
Flux2 is an open and extensible continuous delivery solution for Kubernetes. Flux2 versions between 0.1.0 and 0.29.0, helm-controller 0.1.0 to v0.19.0, and kustomize-controller 0.1.0 to v0.23.0 are vulnerable to Code Injection via malicious Kubeconfig. In multi-tenancy deployments this can also lead to privilege escalation if the controller's service account has elevated permissions. Workarounds include disabling functionality via Validating Admission webhooks by restricting users from setting the `spec.kubeConfig` field in Flux `Kustomization` and `HelmRelease` objects. Additional mitigations include applying restrictive AppArmor and SELinux profiles on the controller’s pod to limit what binaries can be executed. This vulnerability is fixed in kustomize-controller v0.23.0 and helm-controller v0.19.0, both included in flux2 v0.29.0解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/fluxcd/flux2/security/advisories/GHSA-vvmq-fwmg-2gjc |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | fluxcd | flux2 | * | From (including) 0.1.0 | Up to (excluding) 0.29.0 | ||||
运行在以下环境 | |||||||||
应用 | fluxcd | helm-controller | * | From (including) 0.2.0 | Up to (excluding) 0.19.0 | ||||
运行在以下环境 | |||||||||
应用 | fluxcd | kustomize-controller | * | From (including) 0.1.0 | Up to (excluding) 0.23.0 |
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 无需权限
- 影响范围 全局影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-94 | 对生成代码的控制不恰当(代码注入) |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论