Skip to content
Fencer Vulns
critical 9.9

CVE-2022-24877 json

Improper path handling in kustomization files allows path traversal

published 2022-05-04 4 y ago modified 2026-09-10 59 d ago also BIT-flux-2022-24877 , BIT-kustomize-2022-24877 , EUVD-2022-4298 , GHSA-j77r-2fxf-5jrw , GO-2022-0447

cvss
9.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 68%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/fluxcd/kustomize-controller 0.24.0
  • go github.com/fluxcd/flux2 0.29.0
  • bitnami flux 0.29.0
  • bitnami kustomize 0.24.0
  • fluxcd flux2 0.29.0
  • fluxcd kustomize-controller 0.24.0

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
18 mo ago

Exploit prediction

1.19% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P
OSV 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/fluxcd/kustomize-controller
<0.24.0
0.24.0
go github.com/fluxcd/flux2
<0.29.0
0.29.0
bitnami flux
<0.29.0
0.29.0
bitnami kustomize
<0.24.0
0.24.0

Affected products

  • fluxcd flux2

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-36 Absolute Path Traversal

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.