Uncontrolled Recursion Affecting helm.sh/helm/v4/pkg/chart/v2/loader package, versions <4.0.0-20250409170503-d8ca55fc6696


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (7th 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-HELMSHHELMV4PKGCHARTV2LOADER-9685323
  • published11 Apr 2025
  • disclosed9 Apr 2025
  • creditJakub Ciolek

Introduced: 9 Apr 2025

NewCVE-2025-32387  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade helm.sh/helm/v4/pkg/chart/v2/loader to version 4.0.0-20250409170503-d8ca55fc6696 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion in the LoadArchiveFiles() function in archive.go. An attacker can cause a stack overflow by submitting a JSON Schema with excessive nested references.

Workaround

This vulnerability can be mitigated by ensuring that the JSON Schema within any charts loaded by Helm does not have a large number of nested references.

CVSS Base Scores

version 4.0
version 3.1