CVE-2023-25165Helm
Medium 4.3
Follow: this CVE · Helm · Helm We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.3
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 52
- Auth required
- Yes
- Published
- Feb 8, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Helm.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | helm.sh/helm/v3 |
≥ 3.0.0 < 3.11.1 |
3.11.1 |
go get helm.sh/helm/v3@v3.11.1 |
| Go | helm.sh/helm/v3 |
< 3.11.1 |
3.11.1 |
go get helm.sh/helm/v3@v3.11.1 |
Per OSV / GitHub Advisories (GHSA-pwcw-6f5g-gxf8, GO-2023-1547). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| helm | helm | ≥ 3.0.0 < 3.11.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory