Security mailing lists by PureSourceCode

CVE-2022-24817

CRITICAL 9.9CVSS 3.1

Improper kubeconfig validation allows arbitrary code execution

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

Published
6 May 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-94
Also known as
BIT-flux-2022-24817BIT-kustomize-2022-24817GHSA-vvmq-fwmg-2gjc
Sources
NVDJSONOSV GHSA-vvmq-fwmg-2gjcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fluxcd flux2
cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:*
>= 0.1.0, < 0.29.0 0.29.0
NVD fluxcd helm-controller
cpe:2.3:a:fluxcd:helm-controller:*:*:*:*:*:*:*:*
>= 0.2.0, < 0.19.0 0.19.0
NVD fluxcd kustomize-controller
cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:*
>= 0.1.0, < 0.23.0 0.23.0
OSV Go github.com/fluxcd/flux2 >= 0.1.0, < 0.29.0 0.29.0
OSV Go github.com/fluxcd/kustomize-controller >= 0.1.0, < 0.23.0 0.23.0
OSV Go github.com/fluxcd/helm-controller >= 0.2.0, < 0.19.0 0.19.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 6 May 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.