CVE-2022-24877
HIGH 8.8CVSS 3.1Improper 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fluxcd | flux2cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:* |
< 0.29.0 | 0.29.0 |
| NVD | fluxcd | kustomize-controllercpe: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
- https://github.com/fluxcd/flux2/security/advisories/GHSA-j77r-2fxf-5jrw · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-24877 · ADVISORY
- https://github.com/fluxcd/kustomize-controller/commit/f4528fb25d611da94e491346bea056d5c5c3611f · WEB, FIX
- https://github.com/fluxcd/pkg/commit/0ec014baf417fd3879d366a45503a548b9267d2a · WEB
- github.com/fluxcd/kustomize-controller · PACKAGE
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)