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-6241758
  • published11 Feb 2024
  • disclosed15 Dec 2022

Introduced: 15 Dec 2022

CVE-2022-23525  (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 _repo_package. The repo package contains a handler that processes the index file of a repository. For example, the Helm client adds references to chart repositories where charts are managed. The repo package parses the index file of the repository and loads it into structures Go can work with. Some index files can cause array data structures to be created causing a memory violation. Applications that use the repo package in the Helm SDK to parse an index file can suffer a Denial of Service when that input causes a panic that cannot be recovered from. The Helm Client will panic with an index file that causes a memory violation panic. 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 index files that are correctly formatted before passing them to the repo functions.

CVSS Scores

version 3.1