Skip to content

Helm Controller denial of service

High
hiddeco published GHSA-p2g7-xwvr-rrw3 Sep 7, 2022

Package

gomod github.com/fluxcd/flux2 (Go)

Affected versions

< v0.32.0 >= v0.0.17

Patched versions

v0.32.0
gomod github.com/fluxcd/helm-controller (Go)
< v0.23.0 >= v0.0.4
v0.23.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

Severity

High
7.7
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

CVE ID

CVE-2022-36049

Weaknesses

Credits