{"answers":{"affected":"6 open source packages ship an affected version, including github.com/hashicorp/go-getter and github.com/hashicorp/go-getter/v2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-0475 in the wild and no public exploit code.","fix":"Upgrade github.com/hashicorp/go-getter to 1.7.0 or later.","what":"CVE-2023-0475 is a medium-severity denial of service vulnerability in HashiCorp go-getter, published on 16 Feb 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-0475 and fix it if it is affected.\n\nWhat it is: CVE-2023-0475 is a medium-severity denial of service vulnerability in HashiCorp go-getter, published on 16 Feb 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-0475 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/hashicorp/go-getter (Go): affected all versions; fixed in 1.7.0\n- github.com/hashicorp/go-getter (Go): affected all versions; fixed in 1.7.0\n- github.com/hashicorp/go-getter (Go): affected all versions; fixed in 1.7.0\n- github.com/hashicorp/go-getter/v2 (Go): affected from 2.0.0; fixed in 2.2.0\n- github.com/hashicorp/go-getter/v2 (Go): affected from 2.0.0; fixed in 2.2.0\n- github.com/hashicorp/go-getter/v2 (Go): affected from 2.0.0; fixed in 2.2.0\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-0475/ (Markdown: https://insights.sbomify.com/CVE-2023-0475/index.md)","id":"CVE-2023-0475","markdown":"https://insights.sbomify.com/CVE-2023-0475/index.md","name":"CVE-2023-0475","record":{"aliases":["AZL-13586","AZL-13606","DEBIAN-CVE-2023-0475","GHSA-jpxj-2jvg-6jv9","GO-2023-1578","UBUNTU-CVE-2023-0475"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Go library","requires_auth":"high_privilege","summary":"Attackers can cause denial of service in applications using HashiCorp go-getter by submitting decompression bombs.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"HashiCorp","cpe":[{"product":"go-getter","vendor":"hashicorp"}],"cvss":{"score":4.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"description":"HashiCorp go-getter up to 1.6.2 and 2.1.1 is vulnerable to decompression bombs. Fixed in 1.7.0 and 2.2.0.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Go-Getter Vulnerable to Decompression Bombs","id":"CVE-2023-0475","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":6,"n_references":1,"next":{"headline":"Other in Tenable.sc","id":"CVE-2023-0476"},"packages":[{"ecosystem":"Go","fixed":["1.7.0"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/go-getter","purl":null,"source":"GHSA-jpxj-2jvg-6jv9"},{"ecosystem":"Go","fixed":["1.7.0"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"GHSA-jpxj-2jvg-6jv9"},{"ecosystem":"Go","fixed":["1.7.0"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"GO-2023-1578"},{"ecosystem":"Go","fixed":["2.2.0"],"introduced":["2.0.0"],"last_affected":[],"package":"github.com/hashicorp/go-getter/v2","purl":null,"source":"GHSA-jpxj-2jvg-6jv9"},{"ecosystem":"Go","fixed":["2.2.0"],"introduced":["2.0.0"],"last_affected":[],"package":"github.com/hashicorp/go-getter/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/v2","source":"GHSA-jpxj-2jvg-6jv9"},{"ecosystem":"Go","fixed":["2.2.0"],"introduced":["2.0.0"],"last_affected":[],"package":"github.com/hashicorp/go-getter/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/v2","source":"GO-2023-1578"}],"prev":{"headline":"Use after free in Chrome","id":"CVE-2023-0474"},"products":["go-getter"],"published":"2023-02-16","related":[{"cvss_score":9.8,"headline":"HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches","id":"CVE-2024-3817","kev_date_added":null,"published":"2024-04-17"},{"cvss_score":9.8,"headline":"Server-side request forgery in n/a","id":"CVE-2022-26945","kev_date_added":null,"published":"2022-05-25"},{"cvss_score":8.6,"headline":"Path traversal in n/a","id":"CVE-2022-30321","kev_date_added":null,"published":"2022-05-25"},{"cvss_score":8.6,"headline":"Denial of service in n/a","id":"CVE-2022-30322","kev_date_added":null,"published":"2022-05-25"},{"cvss_score":8.6,"headline":"Denial of service in n/a","id":"CVE-2022-30323","kev_date_added":null,"published":"2022-05-25"},{"cvss_score":8.4,"headline":"HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation","id":"CVE-2024-6257","kev_date_added":null,"published":"2024-06-25"},{"cvss_score":7.5,"headline":"HashiCorp go-getter Vulnerable to Arbitrary Read through Symlink Attack","id":"CVE-2025-8959","kev_date_added":null,"published":"2025-08-15"}],"sources":[{"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":"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-18","vendors":["HashiCorp"]},"summary":"Attackers can cause denial of service in applications using HashiCorp go-getter by submitting decompression bombs.","url":"https://insights.sbomify.com/CVE-2023-0475/"}