Advisory

GO-2023-1547

Also known as: BIT-helm-2023-25165, CVE-2023-25165, GHSA-pwcw-6f5g-gxf8

Summary

Information disclosure in helm.sh/helm/v3

Details

An information disclosure vulnerability exists in the getHostByName template function.

The function 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.

Severity

Not rated by the source.

Dates

Published
2023-02-14 15:53 UTC
Modified
2026-02-04 04:24 UTC

Affected packages and fixes

helm.sh/helm/v3

Go · All systems

Affected

  • introduced 0, fixed 3.11.1 (semver)

Fixed versions

3.11.1

Fix

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

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences