{"answers":{"affected":"3 open source packages ship an affected version, including github.com/hashicorp/go-getter. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-29810 in the wild and no public exploit code.","fix":"Upgrade github.com/hashicorp/go-getter to 1.5.11 or later.","what":"CVE-2022-29810 is a medium-severity vulnerability in n/a, published on 27 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-29810 and fix it if it is affected.\n\nWhat it is: CVE-2022-29810 is a medium-severity vulnerability in n/a, published on 27 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-29810 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.5.11\n- github.com/hashicorp/go-getter (Go): affected all versions; fixed in 1.5.11\n- github.com/hashicorp/go-getter (Go): affected all versions; fixed in 1.5.11\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-2022-29810/ (Markdown: https://insights.sbomify.com/CVE-2022-29810/index.md)","id":"CVE-2022-29810","markdown":"https://insights.sbomify.com/CVE-2022-29810/index.md","name":"CVE-2022-29810","record":{"aliases":["GHSA-27rq-4943-qcwp","GO-2022-0438"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Go getter library","requires_auth":"low_privilege","summary":"The Hashicorp go-getter library fails to redact SSH keys from URL query parameters, potentially exposing sensitive credentials to attackers.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"go-getter","vendor":"hashicorp"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"The Hashicorp go-getter library before 1.5.11 does not redact an SSH key from a URL query parameter.","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":"Insertion of Sensitive Information into Log File in Hashicorp go-getter","id":"CVE-2022-29810","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":3,"n_references":3,"next":{"headline":"Cross-site scripting in Hub","id":"CVE-2022-29811"},"packages":[{"ecosystem":"Go","fixed":["1.5.11"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/go-getter","purl":null,"source":"GHSA-27rq-4943-qcwp"},{"ecosystem":"Go","fixed":["1.5.11"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"GHSA-27rq-4943-qcwp"},{"ecosystem":"Go","fixed":["1.5.11"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"GO-2022-0438"}],"prev":{"headline":"Weak cryptography in n/a","id":"CVE-2022-29808"},"products":["n/a"],"published":"2022-04-27","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"The Hashicorp go-getter library fails to redact SSH keys from URL query parameters, potentially exposing sensitive credentials to attackers.","url":"https://insights.sbomify.com/CVE-2022-29810/"}