Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-24817

9.9 · CRITICAL
Published May 6, 2022 fluxcd CWE-94 EPSS 1.07% (63th pctl)

Overview

CVE-2022-24817 is a critical-severity vulnerability affecting fluxcd flux2. It was published on May 6, 2022 and has a CVSS 3.1 base score of 9.9 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.9, rated CRITICAL. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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

Remediation

Check the references section for vendor advisories and patches from fluxcd. Update flux2 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
fluxcd flux2 >= 0.1.0, < 0.29.0 Affected
fluxcd helm-controller >= 0.2.0, < 0.19.0 Affected
fluxcd kustomize-controller >= 0.1.0, < 0.23.0 Affected

Frequently Asked Questions

What is CVE-2022-24817?

CVE-2022-24817 is a critical-severity vulnerability affecting fluxcd flux2. It was published on May 6, 2022 and has a CVSS 3.1 base score of 9.9 (CRITICAL).

How severe is CVE-2022-24817?

This vulnerability has a CVSS 3.1 base score of 9.9, rated CRITICAL. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-24817?

Check the references section for vendor advisories and patches from fluxcd. Update flux2 to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-24817?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-24817 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.