7.7high
Flux2 Helm Controller denial of service
- Severity
- 7.7high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.59% (higher than 76% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-p2g7-xwvr-rrw3BIT-FLUX-2022-36049BIT-HELM-2022-36049
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| fluxcd flux2 | >= 0.0.4, < 0.23.0, >= 0.0.17, < 0.32.0, from 0.0.17 before 0.32.0 | CVE List, NVD |
| github.com/fluxcd/helm-controller (Go) | from 0.0.4 before 0.23.0 | GitHub Advisory Database |
| github.com/fluxcd/flux2 (Go) | from 0.0.17 before 0.32.0 | GitHub Advisory Database |
| helm helm | from 3.0.0 before 3.9.4 | NVD |
| fluxcd helm-controller | from 0.0.4 before 0.23.0 | NVD |
| flux (Bitnami) | from 0.0.17 before 0.32.0 | Bitnami Vulnerability Database |
| helm (Bitnami) | from 3.0.0 before 3.9.4 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| GitHub | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Helm controller is tightly integrated with the Helm SDK. A vulnerability found in the Helm SDK allows for specific data inputs to cause high memory consumption, which in some platforms could cause the controller to panic and stop processing reconciliations.
Impact
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.
Credits
The initial crash bug was reported by oss-fuzz. The Flux Security team produced the first exploit and worked together with the Helm Security team to ensure that both projects were patched timely.
For more information
If you have any questions or comments about this advisory:
- Open an issue in any of the affected repositories.
- Contact us at the CNCF Flux Channel.
References
NVD (es)
Flux2 es una herramienta para mantener los clusters de Kubernetes sincronizados con las fuentes de configuración, y el controlador Helm de Flux es un operador de Kubernetes que permite administrar de forma declarativa los lanzamientos de gráficos de Helm. Helm-controller está estrechamente integrado con el SDK de Helm. Una vulnerabilidad encontrada en el SDK de Helm que afecta a flux2 versiones v0.0.17 hasta v0.32.0 y a helm-controller versiones v0.0.4 hasta v0.23.0, permite que determinadas entradas de datos causen un alto consumo de memoria. En algunas plataformas, esto podría causar que el controlador entre en pánico y deje de procesar las conciliaciones. En un entorno de clústeres compartidos con múltiples inquilinos, un inquilino podría crear un HelmRelease que hace que el controlador entre en pánico, denegando a todos los demás inquilinos la reconciliación de sus HelmRelease. Los parches están disponibles en flux2 versión v0.32.0 y helm-controller versión v0.23.0
References
| https://github.com/fluxcd/flux2/security/advisories/GHSA-p2g7-xwvr-rrw3 | advisory, third-party-advisory, web | |
| https://github.com/helm/helm/security/advisories/GHSA-7hfp-qfw3-5jxh | advisory, third-party-advisory, web | |
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44996 | advisory, mailing-list, third-party-advisory, web | |
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48360 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-36049 | advisory, web | |
| https://github.com/fluxcd/flux2 | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-36049 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p2g7-xwvr-rrw3 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2022-36049 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-FLUX-2022-36049 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-HELM-2022-36049 changed 2026-09-08 | Apache-2.0 |