Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Improper kubeconfig validation allows arbitrary code execution
Vulnerability Description
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
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
Flux2 代码注入漏洞
Vulnerability Description
Flux2是云原生计算基金会(Cloud Native Computing Foundation)的一种使 Kubernetes 集群与配置源保持同步的工具。 Flux2 v0.29.0 之前版本,Flux2 helm-controller v0.19.0之前版本,Flux2 kustomize-controller v0.23.0 之前版本存在安全漏洞,该漏洞源于容易受到恶意 Kubeconfig 的代码注入攻击。
CVSS Information
N/A
Vulnerability Type
N/A