{"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-2024-25620 exists.","fix":"Upgrade helm.sh/helm/v3 to 3.14.1 or later.","what":"CVE-2024-25620 is a medium-severity path traversal vulnerability in helm, published on 14 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-25620 and fix it if it is affected.\n\nWhat it is: CVE-2024-25620 is a medium-severity path traversal vulnerability in helm, published on 14 Feb 2024. 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-2024-25620 exists.\n\nAffected packages and fixed versions:\n- helm.sh/helm/v3 (Go): affected all versions; fixed in 3.14.1\n- helm.sh/helm/v3 (Go): affected all versions; fixed in 3.14.1\n- helm.sh/helm/v3 (Go): affected all versions; fixed in 3.14.1\n- helm (Bitnami): affected all versions; fixed in 3.14.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-2024-25620/ (Markdown: https://insights.sbomify.com/CVE-2024-25620/index.md)","id":"CVE-2024-25620","markdown":"https://insights.sbomify.com/CVE-2024-25620/index.md","name":"CVE-2024-25620","record":{"aliases":["AZL-34355","AZL-34583","AZL-38023","BIT-helm-2024-25620","CLEANSTART-2026-PX46795","GHSA-v53g-5gjp-272r","GO-2024-2554","UBUNTU-CVE-2024-25620","openSUSE-SU-2024:13714-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes package manager","requires_auth":"low_privilege","summary":"Attackers can save Helm charts outside intended directories by manipulating chart names, potentially overwriting files or disrupting deployments.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"helm","vendor":"helm"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. When either the Helm client or SDK is used to save a chart whose name within the `Chart.yaml` file includes a relative path change, the chart would be saved outside its expected directory based on the changes in the relative path. The validation and linting did not detect the path changes in the name. This issue has been resolved in Helm v3.14.1. Users unable to upgrade should check all charts used by Helm for path changes in their name as found in the `Chart.yaml` file. This includes dependencies.","ecosystems":["Bitnami","Go","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":"Dependency management path traversal in helm","id":"CVE-2024-25620","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":5,"n_references":2,"next":{"headline":"containerd affected by a local privilege escalation via wide permissions on CRI directory","id":"CVE-2024-25621"},"packages":[{"ecosystem":"Bitnami","fixed":["3.14.1"],"introduced":["0"],"last_affected":[],"package":"helm","purl":"pkg:bitnami/helm","source":"BIT-helm-2024-25620"},{"ecosystem":"Go","fixed":["3.14.1"],"introduced":["0"],"last_affected":[],"package":"helm.sh/helm/v3","purl":null,"source":"GHSA-v53g-5gjp-272r"},{"ecosystem":"Go","fixed":["3.14.1"],"introduced":["0"],"last_affected":[],"package":"helm.sh/helm/v3","purl":"pkg:golang/helm.sh/helm/v3","source":"GHSA-v53g-5gjp-272r"},{"ecosystem":"Go","fixed":["3.14.1"],"introduced":["0"],"last_affected":[],"package":"helm.sh/helm/v3","purl":"pkg:golang/helm.sh/helm/v3","source":"GO-2024-2554"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.14.2-2.1"],"introduced":["0"],"last_affected":[],"package":"helm","purl":"pkg:rpm/opensuse/helm\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13714-1"}],"prev":{"headline":"Destroying OAuth Applications doesn't notify Streaming of Access Tokens being destroyed in mastodon","id":"CVE-2024-25619"},"products":["helm"],"published":"2024-02-14","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":"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":"2024-08-26","vendors":["helm"]},"summary":"Attackers can save Helm charts outside intended directories by manipulating chart names, potentially overwriting files or disrupting deployments.","url":"https://insights.sbomify.com/CVE-2024-25620/"}