{"schema_version":"1.7.3","id":"GHSA-pwcw-6f5g-gxf8","published":"2023-02-08T22:36:51Z","modified":"2026-02-04T04:40:31.048343Z","aliases":["BIT-helm-2023-25165","CVE-2023-25165","GO-2023-1547"],"related":["CGA-gm8w-h288-pqj4"],"summary":"Helm vulnerable to information disclosure via getHostByName Function ","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.","affected":[{"package":{"name":"helm.sh/helm/v3","ecosystem":"Go","purl":"pkg:golang/helm.sh/helm/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.11.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-pwcw-6f5g-gxf8/GHSA-pwcw-6f5g-gxf8.json"}}],"references":[{"type":"WEB","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":"WEB","url":"https://github.com/helm/helm/commit/293b50c65d4d56187cd4e2f390f0ada46b4c4737"},{"type":"WEB","url":"https://github.com/helm/helm/commit/5abcf74227bfe8e5a3dbf105fe62e7b12deb58d2"},{"type":"PACKAGE","url":"https://github.com/helm/helm"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-1547"}],"database_specific":{"cwe_ids":["CWE-200"],"github_reviewed":true,"github_reviewed_at":"2023-02-08T22:36:51Z","nvd_published_at":"2023-02-08T20:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}