{"id":"CVE-2023-25165","aliases":["CVE-2023-25165","GHSA-pwcw-6f5g-gxf8","BIT-HELM-2023-25165","GO-2023-1547"],"related":["CGA-gm8w-h288-pqj4"],"kind":"vulnerability","state":"published","title":"getHostByName Function Information Disclosure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"A Helm contributor discovered an information disclosure vulnerability using the `getHostByName` template function.\n\n### Impact\n\n`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.\n\nInformation 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.\n\n### Patches\n\nThe issue has been fixed in Helm 3.11.1.\n\n### Workarounds\n\nPrior 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.\n\n### For more information\n\nHelm's security policy is spelled out in detail in our [SECURITY](https://github.com/helm/community/blob/master/SECURITY.md) document.\n\n### Credits\n\nDisclosed by Philipp Stehle at SAP.","format":"markdown","source":"ghsa"},{"lang":"en","text":"An information disclosure vulnerability exists in the getHostByName template function.\n\nThe 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.\n\nInformation 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.","format":"markdown","source":"go"}],"published":"2023-02-08T19:07:14.089Z","modified":"2026-09-10T03:50:07.877Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":">= 3.0.0, < 3.11.1","status":"affected"}],"vendor":"helm","product":"helm","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.11.1"}],"ecosystem":"Go","package":"helm.sh/helm/v3","purl":"pkg:golang/helm.sh/helm/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.11.1"}],"ecosystem":"Go","package":"helm.sh/helm/v3","purl":"pkg:golang/helm.sh/helm/v3","source":"go"},{"ranges":[{"status":"affected","introduced":"3.0.0","fixed":"3.11.1"}],"vendor":"helm","product":"helm","cpe":"cpe:2.3:a:helm:helm:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.11.1"}],"ecosystem":"Bitnami","package":"helm","purl":"pkg:bitnami/helm","source":"bitnami"}],"references":[{"url":"https://github.com/helm/helm/security/advisories/GHSA-pwcw-6f5g-gxf8","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/helm/helm/commit/5abcf74227bfe8e5a3dbf105fe62e7b12deb58d2","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25165","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/helm/helm/commit/293b50c65d4d56187cd4e2f390f0ada46b4c4737","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/helm/helm","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1547","tags":["web"],"sources":["ghsa"]}],"credits":["Philipp Stehle of SAP"],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-10T21:01:09.151Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-25165","url":"https://www.cve.org/CVERecord?id=CVE-2023-25165","licence":"CVE Terms of Use","modified":"2025-03-10T21:15:03.873Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pwcw-6f5g-gxf8","url":"https://github.com/advisories/GHSA-pwcw-6f5g-gxf8","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:07.877Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1547","url":"https://pkg.go.dev/vuln/GO-2023-1547","licence":"CC-BY-4.0","modified":"2026-02-04T04:24:25.402Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-25165","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25165","licence":"Public domain","modified":"2026-06-17T05:40:49.253Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-HELM-2023-25165","url":"https://osv.dev/vulnerability/BIT-HELM-2023-25165","licence":"Apache-2.0","modified":"2026-09-08T08:48:22.996Z"}],"updatedAt":"2026-11-25T22:58:21.883Z","epss":{"score":0.0077,"percentile":0.56836,"date":"2026-12-01T12:00:22.000Z"}}