CVE-2022-30323
HIGH 8.6CVSS 3.1HashiCorp go-getter unsafe downloads could lead to asymmetric resource exhaustion
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.
- Published
- 25 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- CVE-2022-26945CVE-2022-30321CVE-2022-30322GHSA-28r2-q6m8-9hpxGHSA-cjr4-fv6c-f3mvGHSA-fcgg-rvwg-jv58GHSA-x24g-9w7v-vprhGO-2022-0586
- Sources
- NVDJSONOSV GHSA-28r2-q6m8-9hpxJSONOSV GHSA-cjr4-fv6c-f3mvJSONOSV GHSA-fcgg-rvwg-jv58JSONOSV GHSA-x24g-9w7v-vprhJSONOSV GO-2022-0586JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | go-gettercpe:2.3:a:hashicorp:go-getter:*:*:*:*:*:*:*:* |
<= 1.5.11 | |
| NVD | hashicorp | go-gettercpe:2.3:a:hashicorp:go-getter:2.0.2:*:*:*:*:*:*:* |
= 2.0.2 | |
| OSV | Go | github.com/hashicorp/go-getter | < 1.6.1 | 1.6.1 |
| OSV | Go | github.com/hashicorp/go-getter | >= 2.0.0, < 2.1.0 | 2.1.0 |
| OSV | Go | github.com/hashicorp/go-getter/v2 | < 2.1.0 | 2.1.0 |
| OSV | Go | github.com/hashicorp/go-getter/s3/v2 | < 2.1.0 | 2.1.0 |
| OSV | Go | github.com/hashicorp/go-getter/gcs/v2 | < 2.1.0 | 2.1.0 |
References
- https://discuss.hashicorp.com · Vendor Advisory, WEB
- https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/ · Vendor Advisory, WEB
- https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930 · Vendor Advisory, WEB, ADVISORY
- https://github.com/hashicorp/go-getter/releases · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-30323 · ADVISORY
- https://github.com/hashicorp/go-getter/pull/359 · WEB
- https://github.com/hashicorp/go-getter/pull/361 · WEB, FIX
- https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48 · WEB, FIX
- https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45 · WEB
- https://github.com/hashicorp/go-getter · PACKAGE
- https://pkg.go.dev/vuln/GO-2022-0586 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-30322 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-30321 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-26945 · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 25 May 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 May 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 May 2022)