PT-2022-16950 · Unknown+1 · Kustomize-Controller+1

Published

2022-05-06

·

Updated

2024-08-21

·

CVE-2022-24878

CVSS v3.1

7.7

High

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions kustomize-controller versions prior to 0.24.0 flux2 versions prior to 0.29.0
Description Flux is an open and extensible continuous delivery solution for Kubernetes. A Path Traversal issue in the kustomize-controller via a malicious kustomization.yaml allows an attacker to cause a Denial of Service at the controller level. This can lead to multiple tenants not being able to apply their Kustomizations until the malicious kustomization.yaml is removed and the controller restarted. Users with write access to a Flux source can craft a malicious kustomization.yaml file which causes the controller to enter an endless loop.
Recommendations For kustomize-controller versions prior to 0.24.0, upgrade to version 0.24.0 or later. For flux2 versions prior to 0.29.0, upgrade to version 0.29.0 or later. As a temporary workaround, consider using automated tooling in the user's CI/CD pipeline to validate kustomization.yaml files conform with specific policies.

Exploit

Fix

Uncontrolled Recursion

Path traversal

Weakness Enumeration

Related Identifiers

BIT-FLUX-2022-24878
BIT-KUSTOMIZE-2022-24878
CVE-2022-24878
GHSA-7PWF-JG34-HXWP
GO-2022-0448

Affected Products

Flux2
Kustomize-Controller