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)
EPSS: 0.010 (60.6th percentile) — read the EPSS interpretation.
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.
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
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Mailing List, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Mailing List, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-36049?
- CVE-2022-36049 is a high-severity vulnerability in Fluxcd Flux2, classified under Uncontrolled Resource Consumption. CVSS score: 7.7/10. Published 2022-09-07.
- How severe is CVE-2022-36049?
- High severity. CVSS v3 base score is 7.7 out of 10.