CVE & CISA-KEV Catalog

CVE-2022-24817

CRITICAL
9.9
CVSS v3
NVD

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

How to fix

Remediation Available
flux2NVD
Affected:>= 0.1.0, < 0.29.0Fixed in:0.29.0CVE-2022-24817derived from NVD
helm-controllerNVD
Affected:>= 0.2.0, < 0.19.0Fixed in:0.19.0CVE-2022-24817derived from NVD
kustomize-controllerNVD
Affected:>= 0.1.0, < 0.23.0Fixed in:0.23.0CVE-2022-24817derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Exploit Intelligence

1.04%probability of exploitation in 30 days
60thpercentile

Moderate risk: more likely to be exploited than 60% of all known CVEs.

References

Related Vulnerabilities

Other CWE-94 (Code Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-9841Critical9.8100%KEVFix
CVE-2015-1635Critical9.8100%KEV-
CVE-2022-22954Critical9.8100%KEV + Ransom-
CVE-2021-22204Medium6.8100%KEVFix
CVE-2025-3248Critical9.8100%KEVFix
CVE-2012-0158High8.8100%KEV-
Embed a live status badge for CVE-2022-24817
CVE-2022-24817 severity badge

Markdown

[![CVE-2022-24817](https://tridentstack.com/cve/badge/CVE-2022-24817.svg)](https://tridentstack.com/cve/CVE-2022-24817)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-24817"><img src="https://tridentstack.com/cve/badge/CVE-2022-24817.svg" alt="CVE-2022-24817"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.