Skip to content
OpenAdvisories
Medium · 4.3 CVE-2023-25165 BIT-helm-2023-25165EUVD-2023-0766GHSA-pwcw-6f5g-gxf8GO-2023-1547

getHostByName Function Information Disclosure

Published Feb 8, 2023 · Updated Mar 10, 2025 · Assigned by GitHub_M

Description

Helm is a tool that streamlines installing and managing Kubernetes applications.`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. The issue has been fixed in Helm 3.11.1. 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.

Affected products

VendorProductAffectedFixed
helm helm >= 3.0.0, < 3.11.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP4 helm 3.11.1-150000.1.16.1 SUSE-SU-2023:1571-1
SLES 15 SP4 terraform-provider-helm 2.9.0-150200.6.8.1 SUSE-SU-2023:1752-1
SLES 15 SP3 terraform-provider-helm 2.9.0-150200.6.8.1 SUSE-SU-2023:1752-1
SLES 15 SP2 terraform-provider-helm 2.9.0-150200.6.8.1 SUSE-SU-2023:1752-1
SLES 15 SP1 terraform-provider-helm 2.9.0-150100.3.6.3 SUSE-SU-2023:2100-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP4 trivy 0.37.3-bp154.2.9.1 openSUSE-SU-2023:0064-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cilium-cli 0.12.13-1.1 openSUSE-SU-2024:12695-1
openSUSE Tumbleweed helm 3.11.1-1.1 openSUSE-SU-2024:12667-1
openSUSE Tumbleweed helm3 3.19.2-1.1 openSUSE-SU-2025:15779-1
openSUSE Tumbleweed helmfile 0.150.0-2.1 openSUSE-SU-2024:12668-1
openSUSE Tumbleweed k9s 0.27.3-1.1 openSUSE-SU-2024:12682-1
openSUSE Tumbleweed nova 3.6.1-1.1 openSUSE-SU-2024:12676-1
openSUSE Tumbleweed pluto 5.13.3-1.1 openSUSE-SU-2024:12683-1
openSUSE Tumbleweed terraform-provider-helm 2.9.0-1.1 openSUSE-SU-2024:12729-1
openSUSE Tumbleweed trivy 0.37.3-1.1 openSUSE-SU-2024:12692-1
openSUSE Leap 15.4 helm 3.11.1-150000.1.16.1 SUSE-SU-2023:1571-1
openSUSE Leap 15.4 terraform-provider-helm 2.9.0-150200.6.8.1 SUSE-SU-2023:1752-1
openSUSE Leap 15.4 trivy 0.37.3-bp154.2.9.1 openSUSE-SU-2023:0064-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) cert-manager 1.7.3-8 —
Azure Linux 2 (CBL-Mariner) helm 3.10.3-3 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling helm 3.11.1-r0 —
Wolfi rolling helm-3 3.19.2-r1 —
Wolfi rolling helm-4 4.0.1-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go helm.sh/helm/v3 >= 3.0.0, < 3.11.1 3.11.1 GHSA-pwcw-6f5g-gxf8
Go helm.sh/helm/v3 < 3.11.1 3.11.1 GO-2023-1547

Advisories 14

References