Resource exhaustion in Fluxcd Flux2
CVE-2022-36049
Flux2 is a tool for keeping Kubernetes clusters in sync with sources of configuration, and Flux's helm-controller is a Kubernetes operator that allows one to declaratively manage Helm chart releases. Helm controller is tightly integrated with the Helm SDK. A vulnerability found in the Helm SDK that affects flux2 v0.0.17 until v0.32.0 and helm-controller v0.0.4 until v0.23.0 allows for specific data inputs to cause high memory consumption. In some platforms, this could cause the controller to panic and stop processing reconciliations. In a shared cluster multi-tenancy environment, a tenant could create a HelmRelease that makes the controller panic, denying all other tenants from their Helm releases being reconciled. Patches are available in flux2 v0.32.0 and helm-controller v0.23.0.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.015, 75.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Fluxcd Flux2 — versions >= 0.0.4, < 0.23.0, >= 0.0.17, < 0.32.0
- Fluxcd Helm-Controller
- Helm
Weakness classification (CWE)
References
- github.com/fluxcd/flux2/security/advisories/GHSA-p2g7-xwvr-rrw3 (Third Party Advisory)
- github.com/helm/helm/security/advisories/GHSA-7hfp-qfw3-5jxh (Third Party Advisory)
- bugs.chromium.org/p/oss-fuzz/issues/detail (Mailing List, Third Party Advisory)
- bugs.chromium.org/p/oss-fuzz/issues/detail (Mailing List, Third Party Advisory)