Security mailing lists by PureSourceCode

CVE-2022-24877

HIGH 8.8CVSS 3.1

Improper path handling in kustomization files allows path traversal

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.

Published
6 May 2022
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22
Also known as
BIT-flux-2022-24877BIT-kustomize-2022-24877GHSA-j77r-2fxf-5jrwGO-2022-0447
Sources
NVDJSONOSV GHSA-j77r-2fxf-5jrwJSONOSV GO-2022-0447JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fluxcd flux2
cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:*
< 0.29.0 0.29.0
NVD fluxcd kustomize-controller
cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:*
< 0.24.0 0.24.0
OSV Go github.com/fluxcd/kustomize-controller < 0.24.0 0.24.0
OSV Go github.com/fluxcd/flux2 < 0.29.0 0.29.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 6 May 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 4 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.