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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24878.json",
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "GitHub_M",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "flux2 < v0.28.5, >= v0.19.0"
},
{
"last_affected": "flux2 < v0.28.5, >= v0.19.0"
},
{
"introduced": "kustomize < v0.29.0, >= v0.16.0"
},
{
"last_affected": "kustomize < v0.29.0, >= v0.16.0"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "0.29.0"
},
{
"fixed": "0.24.0"
}
],
"source": "CPE_RANGE",
"cpe": [
"cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:*",
"cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:*"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "0.24.0"
}
],
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:*"
}