{"id":"CVE-2022-30322","aliases":["CVE-2022-30322","GHSA-28r2-q6m8-9hpx","GHSA-cjr4-fv6c-f3mv","GHSA-fcgg-rvwg-jv58","GHSA-x24g-9w7v-vprh","GO-2022-0586"],"related":["CVE-2022-26945","CVE-2022-30321","CVE-2022-30323"],"kind":"vulnerability","state":"published","title":"HashiCorp go-getter unsafe downloads could lead to asymmetric resource exhaustion","summary":"go-getter up to 1.5.11 and 2.0.2 allowed asymmetric resource exhaustion when go-getter processed malicious HTTP responses. Fixed in 1.6.1 and 2.1.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"go-getter up to 1.5.11 and 2.0.2 allowed asymmetric resource exhaustion when go-getter processed malicious HTTP responses. Fixed in 1.6.1 and 2.1.0.","source":"cvelist"},{"lang":"en","text":"HashiCorp go-getter through 2.0.2 does not safely perform downloads. Asymmetric resource exhaustion could occur when go-getter processed malicious HTTP responses.","format":"markdown","source":"ghsa"},{"lang":"en","text":"HashiCorp go-getter through 2.0.2 does not safely perform downloads. Arbitrary host access was possible via go-getter path traversal, symlink processing, and command injection flaws.","format":"markdown","source":"ghsa"},{"lang":"en","text":"HashiCorp go-getter through 2.0.2 does not safely perform downloads. Protocol switching, endless redirect, and configuration bypass were possible via abuse of custom HTTP response header processing.","format":"markdown","source":"ghsa"},{"lang":"en","text":"HashiCorp go-getter before 2.0.2 allows Command Injection.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Malicious HTTP responses can cause a number of misbehaviors, including overwriting local files, resource exhaustion, and panics.\n\n* Protocol switching, endless redirect, and configuration bypass are possible through abuse of custom HTTP response header processing.\n\n* Arbitrary host access is possible through go-getter path traversal, symlink processing, and command injection flaws.\n\n* Asymmetric resource exhaustion can occur when go-getter processes malicious HTTP responses.\n\n* A panic can be triggered when go-getter processed password-protected ZIP files.","format":"markdown","source":"go"},{"lang":"es","text":"go-getter hasta 1.5.11 y 2.0.2 permitía el agotamiento asimétrico de recursos cuando go-getter procesaba respuestas HTTP maliciosas. Corregido en 1.6.1 y 2.1.0","source":"nvd"}],"published":"2022-05-25T11:19:35.000Z","modified":"2026-06-17T04:43:29.730Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.1"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/s3/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/gcs/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.1"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/s3/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/gcs/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.1"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/s3/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/gcs/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.1"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/s3/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/gcs/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.6.1"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/s3/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","purl":"pkg:golang/github.com/hashicorp/go-getter/gcs/v2","source":"go"},{"ranges":[{"status":"affected","lastAffected":"1.5.11"},{"status":"affected","version":"2.0.2"}],"vendor":"hashicorp","product":"go-getter","cpe":"cpe:2.3:a:hashicorp:go-getter:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://discuss.hashicorp.com","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hashicorp/go-getter/releases","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930","tags":["advisory","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30323","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/hashicorp/go-getter/pull/359","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/go-getter/pull/361","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45","tags":["web"],"sources":["ghsa","go"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hashicorp/go-getter","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0586","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30322","tags":["advisory"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30321","tags":["advisory"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-26945","tags":["advisory"],"sources":["ghsa"]}],"credits":["Joern Schneeweisz of GitLab","Alessio Della Libera of Snyk","HashiCorp Product Security"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-30322","url":"https://www.cve.org/CVERecord?id=CVE-2022-30322","licence":"CVE Terms of Use","modified":"2024-08-03T06:48:35.602Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-28r2-q6m8-9hpx","url":"https://github.com/advisories/GHSA-28r2-q6m8-9hpx","licence":"CC-BY-4.0","modified":"2024-05-20T21:27:04.000Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cjr4-fv6c-f3mv","url":"https://github.com/advisories/GHSA-cjr4-fv6c-f3mv","licence":"CC-BY-4.0","modified":"2024-05-20T21:26:59.000Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fcgg-rvwg-jv58","url":"https://github.com/advisories/GHSA-fcgg-rvwg-jv58","licence":"CC-BY-4.0","modified":"2024-03-15T00:05:25.226Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x24g-9w7v-vprh","url":"https://github.com/advisories/GHSA-x24g-9w7v-vprh","licence":"CC-BY-4.0","modified":"2024-03-15T00:05:25.226Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0586","url":"https://pkg.go.dev/vuln/GO-2022-0586","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-30322","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30322","licence":"Public domain","modified":"2026-06-17T04:43:29.730Z"}],"updatedAt":"2026-11-25T22:58:11.928Z","epss":{"score":0.01462,"percentile":0.74362,"date":"2026-12-01T12:00:22.000Z"}}