{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-26945","id":"CVE-2022-26945","title":"HashiCorp go-getter unsafe downloads could lead to asymmetric resource exhaustion","description":"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.","descriptionLong":"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.","published":"2022-05-25T11:19:48.000Z","updated":"2026-10-28T02:31:12.968167518Z","reserved":"2022-03-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","rating":"high","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","ranges":["<1.6.1",">=2.0.0 <2.1.0"],"fixed":["1.6.1","2.1.0"],"advisory":"GHSA-28r2-q6m8-9hpx"},{"ecosystem":"Go","name":"github.com/hashicorp/go-getter/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/v2","ranges":["<2.1.0"],"fixed":["2.1.0"],"advisory":"GHSA-28r2-q6m8-9hpx"},{"ecosystem":"Go","name":"github.com/hashicorp/go-getter/s3/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/s3/v2","ranges":["<2.1.0"],"fixed":["2.1.0"],"advisory":"GHSA-28r2-q6m8-9hpx"},{"ecosystem":"Go","name":"github.com/hashicorp/go-getter/gcs/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/gcs/v2","ranges":["<2.1.0"],"fixed":["2.1.0"],"advisory":"GHSA-28r2-q6m8-9hpx"}],"cwes":["CWE-77"],"aliases":["CVE-2022-30321","CVE-2022-30322","CVE-2022-30323","GHSA-28r2-q6m8-9hpx","GHSA-cjr4-fv6c-f3mv","GHSA-fcgg-rvwg-jv58","GHSA-x24g-9w7v-vprh","GO-2022-0586"],"references":[{"url":"https://discuss.hashicorp.com","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930","tags":["x_refsource_MISC","x_transferred","Mitigation","Vendor Advisory","web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/26xxx/CVE-2022-26945.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26945","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30323","tags":["advisory"]},{"url":"https://github.com/hashicorp/go-getter/pull/359","tags":["web"]},{"url":"https://github.com/hashicorp/go-getter/pull/361","tags":["web","fix"]},{"url":"https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48","tags":["web","fix"]},{"url":"https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45","tags":["web"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library","tags":["web"]},{"url":"https://github.com/hashicorp/go-getter","tags":["package"]},{"url":"https://github.com/hashicorp/go-getter/releases","tags":["web"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0586","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30322","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30321","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01743,"epssPercentile":0.78256,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-26945","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26945","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-26945","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-28r2-q6m8-9hpx","ok":true,"note":"GHSA-28r2-q6m8-9hpx"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cjr4-fv6c-f3mv","ok":true,"note":"GHSA-cjr4-fv6c-f3mv"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fcgg-rvwg-jv58","ok":true,"note":"GHSA-fcgg-rvwg-jv58"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x24g-9w7v-vprh","ok":true,"note":"GHSA-x24g-9w7v-vprh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-26945","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}