Information disclosure in Helm
CVE-2023-25165
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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.008 (53.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 53.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
- Helm — versions >= 3.0.0, < 3.11.1
Weakness classification (CWE)
References
- github.com/helm/helm/security/advisories/GHSA-pwcw-6f5g-gxf8 (Exploit, Vendor Advisory)
- github.com/helm/helm/commit/5abcf74227bfe8e5a3dbf105fe62e7b12deb58d2 (Patch)
Frequently asked questions
- What is CVE-2023-25165?
- CVE-2023-25165 is a medium-severity vulnerability in Helm, classified under Information Disclosure. CVSS score: 4.3/10. Published 2023-02-08.
- How severe is CVE-2023-25165?
- Medium severity. CVSS v3 base score is 4.3 out of 10.