{"id":"CVE-2022-30322","aliases":["DEBIAN-CVE-2022-30322","EUVD-2022-3588","GHSA-28r2-q6m8-9hpx","GHSA-cjr4-fv6c-f3mv","GHSA-fcgg-rvwg-jv58","GHSA-x24g-9w7v-vprh","GO-2022-0586","UBUNTU-CVE-2022-30322"],"status":"published","title":"HashiCorp go-getter unsafe downloads could lead to arbitrary host access","description":"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.","severity":{"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","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01462,"percentile":0.73823,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2022-05-25T11:19:30Z","modified":"2026-11-05T04:00:15Z","fixes":[{"ecosystem":"Go","package":"github.com/hashicorp/go-getter","fixed_in":["1.6.1","2.1.0"],"sources":["ghsa"]},{"ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","fixed_in":["2.1.0"],"sources":["ghsa"]},{"ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","fixed_in":["2.1.0"],"sources":["ghsa"]},{"ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","fixed_in":["2.1.0"],"sources":["ghsa"]},{"ecosystem":"Debian:14","package":"golang-github-hashicorp-go-getter","fixed_in":["1.8.9-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.1.0"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"golang-github-hashicorp-go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-1","1.8.9-1"]},{"source":"osv","ecosystem":"Debian:14","package":"golang-github-hashicorp-go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.9-1"}]}],"versions":["0.0~git20160316.0.575ec4e-1","1.4.0-1","1.4.1-1"]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/s3/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/go-getter/gcs/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"golang-github-hashicorp-go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20160316.0.575ec4e-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"golang-github-hashicorp-go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20160316.0.575ec4e-1","1.4.0-1","1.4.1-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"golang-github-jesseduffield-go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20180822.906e156-3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-hashicorp-go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-jesseduffield-go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20180822.906e156-4"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"golang-github-hashicorp-go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"golang-github-jesseduffield-go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20180822.906e156-5"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"golang-github-hashicorp-go-getter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1-1"]}],"products":[{"vendor":"hashicorp","product":"go-getter"}],"references":[{"url":"https://discuss.hashicorp.com","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web","report"]},{"url":"https://github.com/hashicorp/go-getter/releases","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","package","web","report"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web","advisory","report"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30322","tags":["advisory"]},{"url":"https://github.com/hashicorp/go-getter/pull/359","tags":["web","report"]},{"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","report"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0586","tags":["web"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library","tags":["web"]},{"url":"https://github.com/advisories/GHSA-cjr4-fv6c-f3mv"},{"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://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30321.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30321","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30322.json","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30323.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30323","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-30322","tags":["advisory"]},{"url":"https://github.com/hashicorp/go-getter","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-30322","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-30322","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-30322","description":"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.","status":"published","published":"2022-05-25T11:19:35Z","modified":"2024-08-03T06:48:35.602Z","updated_at":"2026-11-02T14:34:30.842561Z"}],"euvd":[{"id":"EUVD-2022-3588","description":"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.","status":"published","published":"2022-05-25T11:19:35Z","modified":"2024-08-03T06:48:35Z","updated_at":"2026-11-03T03:25:36.95433Z"}],"ghsa":[{"id":"GHSA-cjr4-fv6c-f3mv","title":"HashiCorp go-getter unsafe downloads could lead to arbitrary host access","description":"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.","status":"published","published":"2022-05-26T00:01:27Z","modified":"2024-05-20T21:27:02Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T14:37:50.750599Z"}],"nvd":[{"id":"CVE-2022-30322","description":"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.","status":"published","published":"2022-05-25T12:15:08.287Z","modified":"2026-06-17T04:43:29.73Z","cvss":[{"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","level":"high","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:07:21.261605Z"}],"osv":[{"id":"DEBIAN-CVE-2022-30322","description":"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.","status":"published","published":"2022-05-25T12:15:08.287Z","modified":"2026-11-05T04:00:15.260943572Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-05T07:10:31.343344Z"},{"id":"GHSA-28r2-q6m8-9hpx","title":"HashiCorp go-getter unsafe downloads could lead to asymmetric resource exhaustion","description":"HashiCorp go-getter through 2.0.2 does not safely perform downloads. Asymmetric resource exhaustion could occur when go-getter processed malicious HTTP responses.","status":"published","published":"2022-05-26T00:01:27Z","modified":"2024-05-20T21:27:04Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:46:33.956911Z"},{"id":"GHSA-cjr4-fv6c-f3mv","title":"HashiCorp go-getter unsafe downloads could lead to arbitrary host access","description":"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.","status":"published","published":"2022-05-26T00:01:27Z","modified":"2024-05-20T21:26:59Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:46:45.28161Z"},{"id":"GHSA-fcgg-rvwg-jv58","title":"HashiCorp go-getter unsafe downloads","description":"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.","status":"published","published":"2022-05-26T00:01:27Z","modified":"2024-03-15T00:05:25.226817Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:46:46.39441Z"},{"id":"GHSA-x24g-9w7v-vprh","title":"HashiCorp go-getter command injection","description":"HashiCorp go-getter before 2.0.2 allows Command Injection.","status":"published","published":"2022-05-26T00:01:27Z","modified":"2024-03-15T00:05:25.226817Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:59.131095Z"},{"id":"UBUNTU-CVE-2022-30322","description":"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.","status":"published","published":"2022-05-25T12:15:00Z","modified":"2026-01-20T17:27:09.570977Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T16:53:53.899276Z"},{"id":"CVE-2022-26945","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.","status":"published","published":"2022-05-25T11:19:48Z","modified":"2026-10-28T02:31:12.968167518Z","updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"CVE-2022-30321","description":"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.","status":"published","published":"2022-05-25T11:19:42Z","modified":"2026-10-28T02:30:38.692068518Z","updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"CVE-2022-30322","description":"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.","status":"published","published":"2022-05-25T11:19:35Z","modified":"2026-10-28T02:30:56.933025222Z","updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"CVE-2022-30323","description":"go-getter up to 1.5.11 and 2.0.2 panicked when processing password-protected ZIP files. Fixed in 1.6.1 and 2.1.0.","status":"published","published":"2022-05-25T11:19:30Z","modified":"2026-10-28T02:30:51.241926182Z","updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"GO-2022-0586","title":"Resource exhaustion in github.com/hashicorp/go-getter and related modules","description":"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.","status":"published","published":"2022-05-26T00:01:27Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
