Uncontrolled Recursion Affecting helm.sh/helm/v4/pkg/chart/loader package, versions *


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-HELMSHHELMV4PKGCHARTLOADER-9685325
  • 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?

A fix was pushed into the master branch but not yet published.

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