NULL Pointer Dereference Affecting helm.sh/helm/v3/pkg/chartutil package, versions <3.10.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. 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-GOLANG-HELMSHHELMV3PKGCHARTUTIL-3172907
  • published15 Dec 2022
  • disclosed14 Dec 2022
  • creditDavidKorczynski, AdamKorcz

Introduced: 14 Dec 2022

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

How to fix?

Upgrade helm.sh/helm/v3/pkg/chartutil to version 3.10.3 or higher.

Overview

helm.sh/helm/v3/pkg/chartutil is a package manager for kubernetes.

Affected versions of this package are vulnerable to NULL Pointer Dereference due to accepting input to functions that can cause a segmentation violation. Some schema files can cause array data structures to be created causing a memory violation.

Workaround

SDK users can validate schema files that are correctly formatted before passing them to the chartutil functions.

CVSS Scores

version 3.1