NULL Pointer Dereference Affecting flux-helm-controller-0.37 package, versions <0.27.0-r7


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.09% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-FLUXHELMCONTROLLER037-6241772
  • published11 Feb 2024
  • disclosed15 Dec 2022

Introduced: 15 Dec 2022

CVE-2022-23526  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Chainguard flux-helm-controller-0.37 to version 0.27.0-r7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream flux-helm-controller-0.37 package and not the flux-helm-controller-0.37 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Helm is a tool for managing Charts, pre-configured Kubernetes resources. Versions prior to 3.10.3 are subject to NULL Pointer Dereference in the_chartutil_ package that can cause a segmentation violation. The chartutil package contains a parser that loads a JSON Schema validation file. For example, the Helm client when rendering a chart will validate its values with the schema file. The chartutil package parses the schema file and loads it into structures Go can work with. Some schema files can cause array data structures to be created causing a memory violation. Applications that use the chartutil package in the Helm SDK to parse a schema file can suffer a Denial of Service when that input causes a panic that cannot be recovered from. Helm is not a long running service so the panic will not affect future uses of the Helm client. This issue has been patched in 3.10.3. SDK users can validate schema files that are correctly formatted before passing them to the chartutil functions.

CVSS Scores

version 3.1