{"id":"CVE-2022-30321","published":"2022-05-25T11:19:42Z","modified":"2024-08-03T06:48:35Z","title":"go-getter up to 1.5.11 and 2.0.2 allowed arbitrary host access via go-getter path traversal, symlink processing, and…","vendor":null,"product":null,"tier":"tail","description":{"text":"go-getter up to 1.5.11 and 2.0.2 allowed arbitrary host access via go-getter path traversal, symlink processing, and command injection flaws. Fixed in 1.6.1 and 2.1.0.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03114,"percentile":0.88117,"provenance":"source"},"cwes":[],"references":[{"url":"https://discuss.hashicorp.com","tags":["x_refsource_MISC"]},{"url":"https://github.com/hashicorp/go-getter/releases","tags":["x_refsource_MISC"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930","tags":["x_refsource_MISC"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":17.62}]},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/go-getter","vulnerableRanges":["<1.6.1",">=2.0.0, <2.1.0"],"patched":["1.6.1","2.1.0"],"from":["GHSA-fcgg-rvwg-jv58","GO-2022-0586"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","vulnerableRanges":["<2.1.0"],"patched":["2.1.0"],"from":["GHSA-fcgg-rvwg-jv58","GO-2022-0586"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","vulnerableRanges":["<2.1.0"],"patched":["2.1.0"],"from":["GHSA-fcgg-rvwg-jv58","GO-2022-0586"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","vulnerableRanges":["<2.1.0"],"patched":["2.1.0"],"from":["GHSA-fcgg-rvwg-jv58","GO-2022-0586"],"provenance":"source"}],"summary":{"text":"The flaw lies in go-getter, a file-fetching library, where versions up to 1.5.11 and 2.0.2 contain path traversal, symlink processing, and command injection weaknesses that let it reach arbitrary host resources.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:34Z"},"euvd":{"id":"EUVD-2022-3749","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hashicorp-shared-library-cve-2022-26945","children":[{"from":"CVE-2022-30321","to":"CVE-2023-0475","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["get_file_copy.go","get_gcs.go","get_s3.go"],"commits":["https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48","https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45","https://github.com/hashicorp/go-getter/commit/0edab85348271c843782993345b07b1ac98912e6","https://github.com/hashicorp/go-getter/commit/78e6721a2a76266718dc92c3c03c1571dffdefdc"],"basis":"shared function","functions":["getObject"]}]},{"from":"CVE-2022-30321","to":"CVE-2024-3817","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["get_git.go"],"commits":["https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48","https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45","https://github.com/hashicorp/go-getter/commit/268c11cae8cf0d9374783e06572679796abe9ce9"],"basis":"shared function","functions":["clone","findDefaultBranch"]}]},{"from":"CVE-2022-30321","to":"CVE-2024-6257","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["get_git.go"],"commits":["https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48","https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45","https://github.com/hashicorp/go-getter/commit/268c11cae8cf0d9374783e06572679796abe9ce9"],"basis":"shared function","functions":["clone","findDefaultBranch"]}]},{"from":"CVE-2022-30321","to":"CVE-2025-8959","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["copy_dir.go"],"commits":["https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48","https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45","https://github.com/hashicorp/go-getter/commit/87541b2501c00df5eaedea6acc61a2a4a4efa5b7"],"basis":"shared function","functions":["copyDir","update"]}]}]}}