{"id":"CVE-2023-25165","aliases":["BIT-helm-2023-25165","GHSA-pwcw-6f5g-gxf8","GO-2023-1547"],"url":"https://o3.security/vulnerability/CVE-2023-25165","summary":"getHostByName Function Information Disclosure","details":"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.","published":"2023-02-08T19:07:14.089Z","modified":"2026-10-28T02:31:14.526044596Z","cvss":{"score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},"epss":{"score":0.00768,"percentile":0.53893,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Go","name":"helm.sh/helm/v3","fixedVersion":"3.11.1"}],"fix":{"url":"https://github.com/helm/helm/commit/5abcf74227bfe8e5a3dbf105fe62e7b12deb58d2","label":"helm/helm@5abcf74"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25165.json"},{"type":"ADVISORY","url":"https://github.com/helm/helm/security/advisories/GHSA-pwcw-6f5g-gxf8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25165"},{"type":"FIX","url":"https://github.com/helm/helm/commit/5abcf74227bfe8e5a3dbf105fe62e7b12deb58d2"},{"type":"WEB","url":"https://github.com/helm/helm/commit/293b50c65d4d56187cd4e2f390f0ada46b4c4737"},{"type":"PACKAGE","url":"https://github.com/helm/helm"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-1547"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:14.526044596Z"}}