Privilege Escalation Affecting github.com/hashicorp/go-getter package, versions <1.6.1>=2.0.0 <2.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPGOGETTER-2847924
  • published25 May 2022
  • disclosed23 May 2022
  • creditUnknown

Introduced: 23 May 2022

CVE-2022-30321  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/go-getter to version 1.6.1, 2.1.0 or higher.

Overview

github.com/hashicorp/go-getter is a Package for downloading things from a string URL using a variety of protocols.

Affected versions of this package are vulnerable to Privilege Escalation due to performing downloads unsafely.

CVSS Scores

version 3.1