Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/go-getter/v2
  4. ›
  5. CVE-2022-30323

CVE-2022-30323: HashiCorp go-getter unsafe downloads could lead to asymmetric resource exhaustion

May 26, 2022 (updated February 9, 2023)

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.

References

  • discuss.hashicorp.com/
  • discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/
  • discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930
  • github.com/advisories/GHSA-28r2-q6m8-9hpx
  • github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48
  • github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45
  • github.com/hashicorp/go-getter/pull/359
  • github.com/hashicorp/go-getter/pull/361
  • github.com/hashicorp/go-getter/releases
  • nvd.nist.gov/vuln/detail/CVE-2022-30323
  • pkg.go.dev/vuln/GO-2022-0586

Code Behaviors & Features

Detect and mitigate CVE-2022-30323 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before v2.1.0

Fixed versions

  • v2.1.0

Solution

Upgrade to version 2.1.0 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Learn more about CVSS

Source file

go/github.com/hashicorp/go-getter/v2/CVE-2022-30323.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:52 +0000.