CVE-2022-36049

Allocation of Resources Without Limits or Throttling in go/github.com/fluxcd/helm-controller

Identifiers

GHSA-p2g7-xwvr-rrw3, CVE-2022-36049

Package Slug

go/github.com/fluxcd/helm-controller

Vulnerability

Allocation of Resources Without Limits or Throttling

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 Versions

All versions starting from 0.0.4 before 0.23.0

Solution

Upgrade to version 0.23.0 or above.

Last Modified

2022-09-19

source