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

CVE-2022-26945: Improper Neutralization of Special Elements used in a Command ('Command Injection')

May 26, 2022 (updated June 1, 2022)

HashiCorp go-getter before 2.0.2 allows Command Injection.

References

  • discuss.hashicorp.com/
  • discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930
  • github.com/advisories/GHSA-x24g-9w7v-vprh
  • nvd.nist.gov/vuln/detail/CVE-2022-26945

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.6.1, all versions starting from 2.0.0 before 2.1.0

Fixed versions

  • v1.6.1
  • v2.1.0

Solution

Upgrade to versions 1.6.1, 2.1.0 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

go/github.com/hashicorp/go-getter/CVE-2022-26945.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:40 +0000.