CVE-2023-25165
helm: getHostByName Function Information Disclosure
Overview
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.
Source: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-200
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | helm | >=3.0.0, <3.11.1 | 3.11.1 |
| Go | helm.sh/helm/v3 | >=3.0.0, <3.11.1 | 3.11.1 |
Open a package to see all its vulnerabilities.
Operating systems · 20 fixes
Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openshift4-oc-mirror-plugin-rhel8 +1 | affected |
| 8 | openshift4-oc-mirror-plugin-rhel8 +1 | affected |
| 9 | openshift4-oc-mirror-plugin-rhel8 +1 | affected |
SUSE Linux Enterprise 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | terraform-provider-helm | 2.9.0-150200.6.8.1 | SUSE-SU-2023:1752-1 |
| 15.4 | helm +3 | 3.11.1-150000.1.16.1 | SUSE-SU-2023:1571-1 |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| helm | 3.11.1-r0 | |
| helm-3 | 3.19.2-r1 | |
| helm-4 | 4.0.1-r1 |
openSUSE 1 release · 9 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | cilium-cli | 0.12.13-1.1 | openSUSE-SU-2024:12695-1 |
| Tumbleweed | helmfile | 0.150.0-2.1 | openSUSE-SU-2024:12668-1 |
| Tumbleweed | k9s | 0.27.3-1.1 | openSUSE-SU-2024:12682-1 |
| Tumbleweed | trivy | 0.37.3-1.1 | openSUSE-SU-2024:12692-1 |
| Tumbleweed | terraform-provider-helm | 2.9.0-1.1 | openSUSE-SU-2024:12729-1 |
| Tumbleweed | helm +3 | 3.11.1-1.1 | openSUSE-SU-2024:12667-1 |
3 more rows
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| helm | 3.11.1-r0 | |
| helm-3 | 3.19.2-r1 | |
| helm-4 | 4.0.1-r1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-25165
- github.com https://github.com/helm/helm
- github.com https://github.com/helm/helm/commit/293b50c65d4d56187cd4e2f390f0ada46b4c4737
- github.com https://github.com/helm/helm/commit/5abcf74227bfe8e5a3dbf105fe62e7b12deb58d2
- github.com https://github.com/helm/helm/security/advisories/GHSA-pwcw-6f5g-gxf8
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-25165
- pkg.go.dev https://pkg.go.dev/vuln/GO-2023-1547
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-25165
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.