helm.sh/helm/v3
Affected
- introduced
3.0.0, fixed3.11.1(semver)
Fixed versions
3.11.1
Fix
- Fixed version
3.11.1go get helm.sh/helm/[email protected]
Advisory
Also known as: BIT-helm-2023-25165, CVE-2023-25165, GO-2023-1547
Helm vulnerable to information disclosure via getHostByName Function
A Helm contributor discovered an information disclosure vulnerability using the getHostByName template function.
Impact
getHostByName is a Helm template function introduced in Helm v3. The function is able to accept a hostname and return an IP address for that hostname. To get the IP address the function performs a DNS lookup. The DNS lookup happens when used with helm install|upgrade|template or when the Helm SDK is used to render a chart.
Information passed into the chart can be disclosed to the DNS servers used to lookup the IP address. For example, a malicious chart could inject getHostByName into a chart in order to disclose values to a malicious DNS server.
Patches
The issue has been fixed in Helm 3.11.1.
Workarounds
Prior to using a chart with Helm verify the getHostByName function is not being used in a template to disclose any information you do not want passed to DNS servers.
For more information
Helm's security policy is spelled out in detail in our SECURITY document.
Credits
Disclosed by Philipp Stehle at SAP.
Medium Basis: The source's own band: MODERATE
3.0.0, fixed 3.11.1 (semver)3.11.1
3.11.1go get helm.sh/helm/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0