Path Traversal in Fluxcd Flux2

CVE-2022-24877

Flux is an open and extensible continuous delivery solution for Kubernetes. Path Traversal in the kustomize-controller via a malicious `kustomization.yaml` allows an attacker to expose sensitive data from the controller’s pod filesystem and possibly privilege escalation in multi-tenancy deployments. Workarounds include automated tooling in the user's CI/CD pipeline to validate `kustomization.yaml` files conform with specific policies. This vulnerability is fixed in kustomize-controller v0.24.0 and included in flux2 v0.29.0.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.011 (63.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-24877?
CVE-2022-24877 is a critical-severity vulnerability in Fluxcd Flux2, classified under Path Traversal. CVSS score: 9.9/10. Published 2022-05-06.
How severe is CVE-2022-24877?
Critical severity. CVSS v3 base score is 9.9 out of 10.