Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. helm.sh/helm/v3
  4. ›
  5. CVE-2023-25165

CVE-2023-25165: Exposure of Sensitive Information to an Unauthorized Actor

February 8, 2023

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.

References

  • github.com/advisories/GHSA-pwcw-6f5g-gxf8
  • github.com/helm/helm/commit/5abcf74227bfe8e5a3dbf105fe62e7b12deb58d2
  • github.com/helm/helm/security/advisories/GHSA-pwcw-6f5g-gxf8
  • nvd.nist.gov/vuln/detail/CVE-2023-25165

Code Behaviors & Features

Detect and mitigate CVE-2023-25165 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 before 3.11.1

Fixed versions

  • v3.11.1

Solution

Upgrade to version 3.11.1 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

go/helm.sh/helm/v3/CVE-2023-25165.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.