Vulnerability · Published May 6, 2022 · Assigned by GitHub_M
CVE-2022-24878Improper path handling in Kustomization files allows for denial of service
High 7.7
In plain English
A high-severity path traversal in flux2 from fluxcd. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 cause a Denial of Service at the controller level. 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. Users are recommended to upgrade.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/fluxcd/flux2 | 0.29.0 | GHSA-7pwf-jg34-hxwp |
| Go | github.com/fluxcd/flux2 | 0.29.0 | GO-2022-0448 |
| Go | github.com/fluxcd/kustomize-controller | 0.24.0 | GHSA-7pwf-jg34-hxwp |
| Go | github.com/fluxcd/kustomize-controller | 0.24.0 | GO-2022-0448 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
References
- https://github.com/fluxcd/flux2/security/advisories/GHSA-7pwf-jg34-hxwp x_refsource_CONFIRM