CVE-2017-15041 Affecting golang-bin package, versions <0:1.9.4-1.el7


Severity

Recommended
medium

Based on Red Hat Enterprise 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-RHEL7-GOLANGBIN-4783541
  • published26 Jul 2021
  • disclosed4 Oct 2017

Introduced: 4 Oct 2017

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

How to fix?

Upgrade RHEL:7 golang-bin to version 0:1.9.4-1.el7 or higher.
This issue was patched in RHSA-2018:0878.

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 RHEL. See How to fix? for RHEL:7 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