GitHub Advisoryadvisory · Go

GHSA-p2g7-xwvr-rrw3 Helm Controller denial of service

HIGH Published 2022-09-16 Modified 2022-09-16 Official page ↗
Aliases
CVE-2022-36049
Ecosystem
Go
Packages
github.com/fluxcd/helm-controller, github.com/fluxcd/flux2
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weaknesses
CWE-400, CWE-770
Reviewed
2022-09-16

Affected packages

• Go github.com/fluxcd/helm-controller: >= 0.0.4, < 0.23.0 → fixed in 0.23.0 • Go github.com/fluxcd/flux2: >= 0.0.17, < 0.32.0 → fixed in 0.32.0

Description

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 • https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48360 • https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44996 • https://github.com/helm/helm/security/advisories/GHSA-7hfp-qfw3-5jxh

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References