CVE-2021-32690: Helm passes repository credentials to alternate domain
8.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.31821%
CWE
Published
6/23/2021
Updated
5/20/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
helm.sh/helm/v3 | go | < 3.6.1 | 3.6.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from credential handling functions that didn't validate()
domain matching between repository URL and chart URLs. Key functions identified through: 1) HTTPGetter.get
adding auth headers without domain checks (fixed via URL parsing), 2) LocateChart/FindChartInAuthAndTLSRepoURL
resolving charts without credential scoping (patched with scheme/host/port checks), 3) Manager.findChartURL
passing credentials cross-domain (patched with passCredentialsAll parameter). The commit diffs show these functions were modified to add domain validation and credential scoping logic.