CVE-2017-15041 Affecting golang-bin package, versions <0:1.8.4-1.41.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
5.53% (94th 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-AMZN201803-GOLANGBIN-1709159
  • published27 Sept 2021
  • disclosed5 Oct 2017

Introduced: 5 Oct 2017

CVE-2017-15041  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 golang-bin to version 0:1.8.4-1.41.amzn1 or higher.
This issue was patched in ALAS-2017-918.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-bin package and not the golang-bin package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution. Using custom domains, it is possible to arrange things so that example.com/pkg1 points to a Subversion repository but example.com/pkg1/pkg2 points to a Git repository. If the Subversion repository includes a Git checkout in its pkg2 directory and some other work is done to ensure the proper ordering of operations, "go get" can be tricked into reusing this Git checkout for the fetch of code from pkg2. If the Subversion repository's Git checkout has malicious commands in .git/hooks/, they will execute on the system running "go get."

CVSS Scores

version 3.1