{"id":"CVE-2022-26945","published":"2022-05-25T11:19:48Z","modified":"2024-08-03T05:18:38Z","title":"go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of…","vendor":null,"product":null,"tier":"tail","description":{"text":"go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01743,"percentile":0.78326,"provenance":"source"},"cwes":[],"references":[{"url":"https://discuss.hashicorp.com","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":15.7,"factors":[{"name":"EPSS percentile","points":15.67}]},"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-x24g-9w7v-vprh","GO-2022-0586"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","vulnerableRanges":["<2.1.0"],"patched":["2.1.0"],"from":["GHSA-x24g-9w7v-vprh","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-x24g-9w7v-vprh","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-x24g-9w7v-vprh","GO-2022-0586"],"provenance":"source"}],"summary":{"text":"The go-getter component (versions up to 1.5.11 and 2.0.2) allows protocol switching, endless redirects, and configuration bypass through its processing of custom HTTP response headers. An attacker can trigger these effects by abusing that header handling.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:47Z"},"euvd":{"id":"EUVD-2022-5681","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hashicorp-shared-library-cve-2022-26945","children":[{"from":"CVE-2022-26945","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-26945","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-26945","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-26945","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"]}]}]}}