Uncontrolled Recursion Affecting github.com/helm/helm/pkg/chart/loader package, versions <3.17.3


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-GITHUBCOMHELMHELMPKGCHARTLOADER-9685324
  • 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 github.com/helm/helm/pkg/chart/loader to version 3.17.3 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