Skip to content

Update module github.com/hashicorp/go-getter to v1.8.6 [SECURITY] - #19

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-hashicorp-go-getter-vulnerability
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-hashicorp-go-getter-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/hashicorp/go-getter v1.6.1 → v1.8.6 age confidence

Data Amplification in HashiCorp go-getter

CVE-2023-0475 / GHSA-jpxj-2jvg-6jv9 / GO-2023-1578

More information

Details

HashiCorp go-getter up to 1.6.2 and 2.1.1 is vulnerable to decompression bombs. Fixed in 1.7.0 and 2.2.0.

Severity

  • CVSS Score: 4.2 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Denial of service in github.com/hashicorp/go-getter/v2

CVE-2023-0475 / GHSA-jpxj-2jvg-6jv9 / GO-2023-1578

More information

Details

HashiCorp go-getter is vulnerable to decompression bombs. This can lead to excessive memory consumption and denial-of-service attacks.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches

CVE-2024-3817 / GHSA-q64h-39hv-4cf7 / GO-2024-2800

More information

Details

When go-getter is performing a Git operation, go-getter will try to clone the given repository. If a Git reference is not passed along with the Git url, go-getter will then try to check the remote repository’s HEAD reference of its default branch by passing arguments to the Git binary on the host it is executing on.

An attacker may format a Git URL in order to inject additional Git arguments to the Git call.

Consumers of the go-getter library should evaluate the risk associated with these issues in the context of their go-getter usage and upgrade go-getter to 1.7.4 or later.

Severity

  • CVSS Score: 9.8 / 10 (Critical)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Argument injection when fetching remote default Git branches in github.com/hashicorp/go-getter

CVE-2024-3817 / GHSA-q64h-39hv-4cf7 / GO-2024-2800

More information

Details

When go-getter is performing a Git operation, go-getter will try to clone the given repository. If a Git reference is not passed along with the Git url, go-getter will then try to check the remote repository's HEAD reference of its default branch by passing arguments to the Git binary on the host it is executing on.

An attacker may format a Git URL in order to inject additional Git arguments to the Git call.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation

CVE-2024-6257 / GHSA-xfhp-jf8p-mh5w / GO-2024-2948

More information

Details

HashiCorp’s go-getter library can be coerced into executing Git update on an existing maliciously modified Git Configuration, potentially leading to arbitrary code execution. When go-getter is performing a Git operation, go-getter will try to clone the given repository in a specified destination. Cloning initializes a git config to the provided destination and if the repository needs to get updated go-getter will pull the new changes .

An attacker may alter the Git config after the cloning step to set an arbitrary Git configuration to achieve code execution.

Severity

  • CVSS Score: 8.4 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Code Execution on Git update in github.com/hashicorp/go-getter

CVE-2024-6257 / GHSA-xfhp-jf8p-mh5w / GO-2024-2948

More information

Details

A crafted request can execute Git update on an existing maliciously modified Git Configuration. This can potentially lead to arbitrary code execution. When performing a Git operation, the library will try to clone the given repository to a specified destination. Cloning initializes a git config in the provided destination. An attacker may alter the Git config after the cloning step to set an arbitrary Git configuration to achieve code execution.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


HashiCorp go-getter Vulnerable to Symlink Attacks

CVE-2025-8959 / GHSA-wjrx-6529-hcj3 / GO-2025-3892

More information

Details

HashiCorp's go-getter library subdirectory download feature is vulnerable to symlink attacks leading to unauthorized read access beyond the designated directory boundaries. This vulnerability, identified as CVE-2025-8959, is fixed in go-getter 1.7.9.

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


HashiCorp go-getter Vulnerable to Symlink Attacks in github.com/hashicorp/go-getter

CVE-2025-8959 / GHSA-wjrx-6529-hcj3 / GO-2025-3892

More information

Details

HashiCorp go-getter Vulnerable to Symlink Attacks in github.com/hashicorp/go-getter

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


HashiCorp's go-getter library may allow arbitrary file reads

CVE-2026-4660 / GHSA-92mm-2pjq-r785 / GO-2026-5058

More information

Details

HashiCorp's go-getter library up to v1.8.5 may allow arbitrary file reads on the file system during certain git operations through a maliciously crafted URL. This is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branch and package.

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


HashiCorp's go-getter library may allow arbitrary file reads in github.com/hashicorp/go-getter

CVE-2026-4660 / GHSA-92mm-2pjq-r785 / GO-2026-5058

More information

Details

HashiCorp's go-getter library up to v1.8.5 may allow arbitrary file reads on the file system during certain git operations through a maliciously crafted URL. This is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branch and package.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Release Notes

hashicorp/go-getter (github.com/hashicorp/go-getter)

v1.8.6

Compare Source

v1.8.5

Compare Source

What's Changed

NOTES:

Binary Distribution Update: To streamline our release process and align with other HashiCorp tools, all release binaries will now be published exclusively to the official HashiCorp release site. We will no longer attach release assets to GitHub Releases.

New Contributors

Full Changelog: hashicorp/go-getter@v1.8.4...v1.8.5

v1.8.4

Compare Source

What's Changed
New Contributors

Full Changelog: hashicorp/go-getter@v1.8.3...v1.8.4

v1.8.3

Compare Source

What's Changed
New Contributors

Full Changelog: hashicorp/go-getter@v1.8.2...v1.8.3

v1.8.2

Compare Source

What's Changed
New Contributors

Full Changelog: hashicorp/go-getter@v1.8.1...v1.8.2

v1.8.1

Compare Source

What's Changed
New Contributors

Full Changelog: hashicorp/go-getter@v1.8.0...v1.8.1

v1.8.0

What's Changed
New Contributors

Full Changelog: hashicorp/go-getter@v1.7.9...v1.8.0

v1.7.9

Compare Source

What's Changed
New Contributors

Full Changelog: hashicorp/go-getter@v1.7.8...v1.7.9

v1.7.8

Compare Source

What's Changed

Full Changelog: hashicorp/go-getter@v1.7.7...v1.7.8

v1.7.7

Compare Source

What's Changed
New Contributors

Full Changelog: hashicorp/go-getter@v1.7.6...v1.7.7

v1.7.6

Compare Source

What's Changed
New Contributors

Full Changelog: hashicorp/go-getter@v1.7.5...v1.7.6

v1.7.5

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/go-getter@v1.7.4...v1.7.5

v1.7.4

Compare Source

What's Changed

  • Escape user-provided strings in git commands #​483
  • Fixed a bug in .netrc handling if the file does not exist #​433

Full Changelog: hashicorp/go-getter@v1.7.3...v1.7.4

v1.7.3

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/go-getter@v1.7.2...v1.7.3

v1.7.2

Compare Source

What's Changed

Full Changelog: hashicorp/go-getter@v1.7.1...v1.7.2

v1.7.1

Compare Source

v1.7.0

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/go-getter@v1.6.2...v1.7.0

v1.6.2

Compare Source

What's Changed

  • Fix no getter available for X-Terraform-Get source protocol when using bare github or bitbucket hostnames: #​370

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the security label Oct 13, 2026
@renovate
renovate Bot requested a review from kobtea October 13, 2026 18:02
@renovate renovate Bot added the security label Oct 13, 2026
@renovate

renovate Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 16 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.0 -> 1.25.8
golang.org/x/oauth2 v0.27.0 -> v0.36.0
cloud.google.com/go v0.105.0 -> v0.123.0
github.com/cespare/xxhash/v2 v2.1.2 -> v2.3.0
github.com/davecgh/go-spew v1.1.1 -> v1.1.2-0.20180830191138-d8f796af33cc
github.com/google/uuid v1.3.0 -> v1.6.0
github.com/googleapis/enterprise-certificate-proxy v0.2.0 -> v0.3.14
github.com/googleapis/gax-go/v2 v2.7.0 -> v2.17.0
github.com/hashicorp/go-version v1.5.0 -> v1.8.0
github.com/klauspost/compress v1.15.11 -> v1.18.5
github.com/pmezard/go-difflib v1.0.0 -> v1.0.1-0.20181226105442-5d4384ee4fb2
github.com/prometheus/client_model v0.3.0 -> v0.6.2
github.com/ulikunitz/xz v0.5.10 -> v0.5.15
google.golang.org/api v0.103.0 -> v0.271.0
google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd -> v0.0.0-20260128011058-8636f8732409
google.golang.org/grpc v1.51.0 -> v1.79.3
google.golang.org/protobuf v1.33.0 -> v1.36.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants