CVE-2022-24877

Description

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.

Severity
CRITICAL
CVSS v3
9.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
1.187%
chance of exploitation in the next 30 days
higher than 68.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impacttotal
Scored2025-04-23

Timeline

  1. 2022-05-04GitHub advisory published (GHSA-j77r-2fxf-5jrw)2 days before publication
  2. 2022-05-06Published by the CNA01:10 UTC
  3. 2025-04-23CISA SSVC decision recorded1083 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-j77r-2fxf-5jrw, affected packages:

PackageVulnerable versionsFixed in
Go github.com/fluxcd/flux2before 0.29.00.29.0
Go github.com/fluxcd/kustomize-controllerbefore 0.24.00.24.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
fluxcd flux2before 0.29.0fixed in 0.29.00.29.0
fluxcd kustomize-controllerbefore 0.24.0fixed in 0.24.00.24.0

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources