8.6high
HashiCorp go-getter unsafe downloads could lead to asymmetric resource exhaustion
- Severity
- 8.6high CVSS:3.1 by NVD
- Exploit likelihood
- 1.46% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-28r2-q6m8-9hpxGHSA-cjr4-fv6c-f3mvGHSA-fcgg-rvwg-jv58GHSA-x24g-9w7v-vprhGO-2022-0586
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/hashicorp/go-getter (Go) | before 1.6.1, from 2.0.0 before 2.1.0 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/hashicorp/go-getter/v2 (Go) | before 2.1.0 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/hashicorp/go-getter/s3/v2 (Go) | before 2.1.0 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/hashicorp/go-getter/gcs/v2 (Go) | before 2.1.0 | GitHub Advisory Database, Go Vulnerability Database |
| hashicorp go-getter | up to 1.5.11, 2.0.2 | NVD |
All scores
| GitHub | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
HashiCorp go-getter through 2.0.2 does not safely perform downloads. Asymmetric resource exhaustion could occur when go-getter processed malicious HTTP responses.
GitHub Advisory Database
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.
GitHub Advisory Database
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.
GitHub Advisory Database
HashiCorp go-getter before 2.0.2 allows Command Injection.
Go Vulnerability Database
Malicious HTTP responses can cause a number of misbehaviors, including overwriting local files, resource exhaustion, and panics.
-
Protocol switching, endless redirect, and configuration bypass are possible through abuse of custom HTTP response header processing.
-
Arbitrary host access is possible through go-getter path traversal, symlink processing, and command injection flaws.
-
Asymmetric resource exhaustion can occur when go-getter processes malicious HTTP responses.
-
A panic can be triggered when go-getter processed password-protected ZIP files.
NVD (es)
go-getter hasta 1.5.11 y 2.0.2 entraba en pánico al procesar archivos ZIP protegidos por contraseña. Corregido en 1.6.1 y 2.1.0
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-30323 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-28r2-q6m8-9hpx changed 2024-05-20 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-cjr4-fv6c-f3mv changed 2024-05-20 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-fcgg-rvwg-jv58 changed 2024-03-15 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-x24g-9w7v-vprh changed 2024-03-15 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0586 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2022-30323 changed 2026-06-17 | Public domain |