{"answers":{"affected":"4 open source packages ship an affected version, including helm.sh/helm/v3 and helm. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-25165 exists.","fix":"Upgrade helm.sh/helm/v3 to 3.11.1 or later.","what":"CVE-2023-25165 is a medium-severity vulnerability in helm, published on 8 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-25165 and fix it if it is affected.\n\nWhat it is: CVE-2023-25165 is a medium-severity vulnerability in helm, published on 8 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-25165 exists.\n\nAffected packages and fixed versions:\n- helm.sh/helm/v3 (Go): affected all versions; fixed in 3.11.1\n- helm.sh/helm/v3 (Go): affected from 3.0.0; fixed in 3.11.1\n- helm.sh/helm/v3 (Go): affected from 3.0.0; fixed in 3.11.1\n- helm (Bitnami): affected from 3.0.0; fixed in 3.11.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-25165/ (Markdown: https://insights.sbomify.com/CVE-2023-25165/index.md)","id":"CVE-2023-25165","markdown":"https://insights.sbomify.com/CVE-2023-25165/index.md","name":"CVE-2023-25165","record":{"aliases":["AZL-13300","AZL-13558","BIT-helm-2023-25165","CLEANSTART-2026-UY62057","GHSA-pwcw-6f5g-gxf8","GO-2023-1547","SUSE-SU-2023:1571-1","SUSE-SU-2023:1752-1","SUSE-SU-2023:2100-1","openSUSE-SU-2023:0064-1","openSUSE-SU-2024:12667-1","openSUSE-SU-2024:12668-1","openSUSE-SU-2024:12676-1","openSUSE-SU-2024:12682-1","openSUSE-SU-2024:12683-1","openSUSE-SU-2024:12692-1","openSUSE-SU-2024:12695-1","openSUSE-SU-2024:12729-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes package manager","requires_auth":"low_privilege","summary":"A malicious Helm chart can use the getHostByName function to leak sensitive template values to attacker-controlled DNS servers during installation or rendering.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"helm","vendor":"helm"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["Bitnami","Go","SUSE:Linux Enterprise Module for Containers 15 SP4","SUSE:Linux Enterprise Module for Package Hub 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 15 SP1","SUSE:Linux Enterprise Module for Public Cloud 15 SP2","SUSE:Linux Enterprise Module for Public Cloud 15 SP3","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Package Hub 15 SP4","openSUSE:Leap 15.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"getHostByName Function Information Disclosure","id":"CVE-2023-25165","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":22,"n_references":2,"next":{"headline":"Regular Expression Denial of Service (ReDoS) Vulnerability","id":"CVE-2023-25166"},"packages":[{"ecosystem":"Bitnami","fixed":["3.11.1"],"introduced":["3.0.0"],"last_affected":[],"package":"helm","purl":"pkg:bitnami/helm","source":"BIT-helm-2023-25165"},{"ecosystem":"Go","fixed":["3.11.1"],"introduced":["0"],"last_affected":[],"package":"helm.sh/helm/v3","purl":"pkg:golang/helm.sh/helm/v3","source":"GO-2023-1547"},{"ecosystem":"Go","fixed":["3.11.1"],"introduced":["3.0.0"],"last_affected":[],"package":"helm.sh/helm/v3","purl":null,"source":"GHSA-pwcw-6f5g-gxf8"},{"ecosystem":"Go","fixed":["3.11.1"],"introduced":["3.0.0"],"last_affected":[],"package":"helm.sh/helm/v3","purl":"pkg:golang/helm.sh/helm/v3","source":"GHSA-pwcw-6f5g-gxf8"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP4","fixed":["3.11.1-150000.1.16.1"],"introduced":["0"],"last_affected":[],"package":"helm","purl":"pkg:rpm/suse/helm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP4","source":"SUSE-SU-2023:1571-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP4","fixed":["3.11.1-150000.1.16.1"],"introduced":["0"],"last_affected":[],"package":"helm","purl":"pkg:rpm/suse/helm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP4","source":"SUSE-SU-2023:1571-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP1","fixed":["2.9.0-150100.3.6.3"],"introduced":["0"],"last_affected":[],"package":"terraform-provider-helm","purl":"pkg:rpm/suse/terraform-provider-helm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP1","source":"SUSE-SU-2023:2100-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP2","fixed":["2.9.0-150200.6.8.1"],"introduced":["0"],"last_affected":[],"package":"terraform-provider-helm","purl":"pkg:rpm/suse/terraform-provider-helm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP2","source":"SUSE-SU-2023:1752-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP3","fixed":["2.9.0-150200.6.8.1"],"introduced":["0"],"last_affected":[],"package":"terraform-provider-helm","purl":"pkg:rpm/suse/terraform-provider-helm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP3","source":"SUSE-SU-2023:1752-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["2.9.0-150200.6.8.1"],"introduced":["0"],"last_affected":[],"package":"terraform-provider-helm","purl":"pkg:rpm/suse/terraform-provider-helm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2023:1752-1"},{"ecosystem":"SUSE:Package Hub 15 SP4","fixed":["0.37.3-bp154.2.9.1"],"introduced":["0"],"last_affected":[],"package":"trivy","purl":"pkg:rpm/suse/trivy\u0026distro=SUSE%20Package%20Hub%2015%20SP4","source":"openSUSE-SU-2023:0064-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["3.11.1-150000.1.16.1"],"introduced":["0"],"last_affected":[],"package":"helm","purl":"pkg:rpm/opensuse/helm\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:1571-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.9.0-150200.6.8.1"],"introduced":["0"],"last_affected":[],"package":"terraform-provider-helm","purl":"pkg:rpm/opensuse/terraform-provider-helm\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:1752-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["0.37.3-bp154.2.9.1"],"introduced":["0"],"last_affected":[],"package":"trivy","purl":"pkg:rpm/opensuse/trivy\u0026distro=openSUSE%20Leap%2015.4","source":"openSUSE-SU-2023:0064-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.12.13-1.1"],"introduced":["0"],"last_affected":[],"package":"cilium-cli","purl":"pkg:rpm/opensuse/cilium-cli\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12695-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.11.1-1.1"],"introduced":["0"],"last_affected":[],"package":"helm","purl":"pkg:rpm/opensuse/helm\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12667-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.150.0-2.1"],"introduced":["0"],"last_affected":[],"package":"helmfile","purl":"pkg:rpm/opensuse/helmfile\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12668-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.27.3-1.1"],"introduced":["0"],"last_affected":[],"package":"k9s","purl":"pkg:rpm/opensuse/k9s\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12682-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.6.1-1.1"],"introduced":["0"],"last_affected":[],"package":"nova","purl":"pkg:rpm/opensuse/nova\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12676-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["5.13.3-1.1"],"introduced":["0"],"last_affected":[],"package":"pluto","purl":"pkg:rpm/opensuse/pluto\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12683-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.9.0-1.1"],"introduced":["0"],"last_affected":[],"package":"terraform-provider-helm","purl":"pkg:rpm/opensuse/terraform-provider-helm\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12729-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.37.3-1.1"],"introduced":["0"],"last_affected":[],"package":"trivy","purl":"pkg:rpm/opensuse/trivy\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12692-1"}],"prev":{"headline":"Sensitive Information leak via Script File in TinaCMS","id":"CVE-2023-25164"},"products":["helm"],"published":"2023-02-08","related":[{"cvss_score":9.8,"headline":"Helm Unsafe Link Following","id":"CVE-2019-18658","kev_date_added":null,"published":"2019-11-12"},{"cvss_score":9.8,"headline":"Helm Improper Certificate Validation","id":"CVE-2019-1010275","kev_date_added":null,"published":"2019-07-17"},{"cvss_score":9.1,"headline":"Information disclosure in n/a","id":"CVE-2019-25210","kev_date_added":null,"published":"2024-03-03"},{"cvss_score":8.5,"headline":"Helm Chart Dependency Updating With Malicious Chart.yaml Content And Symlink Can Lead To Code Execution","id":"CVE-2025-53547","kev_date_added":null,"published":"2025-07-08"},{"cvss_score":8.5,"headline":"lookup Function Information Discolosure in Helm","id":"CVE-2020-11013","kev_date_added":null,"published":"2020-04-24"},{"cvss_score":8.4,"headline":"Helm has a path traversal in plugin metadata version enables arbitrary file write outside Helm plugin directory","id":"CVE-2026-35204","kev_date_added":null,"published":"2026-04-09"},{"cvss_score":8.4,"headline":"Helm's plugin verification fails open when .prov is missing, allowing unsigned plugin install","id":"CVE-2026-35205","kev_date_added":null,"published":"2026-04-09"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-10","vendors":["helm"]},"summary":"A malicious Helm chart can use the getHostByName function to leak sensitive template values to attacker-controlled DNS servers during installation or rendering.","url":"https://insights.sbomify.com/CVE-2023-25165/"}