Back to CVE catalog
CVE-2017-15041

Remote command execution via "go get" in Go

Multiple products

At a glance

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."

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

9.8Critical
Published:
Updated:
EPSS:
7.177%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Not specified

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Debiandebian linuxAffected versions:
9.0Show full version range for debian linux
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:golanggoAffected versions:
≤ 1.8.3Show full version range for go
1.9
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatdeveloper toolsAffected versions:
1.0Show full version range for developer tools
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatenterprise linux eusAffected versions:
7.6Show full version range for enterprise linux eus
7.7
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatenterprise linux serverAffected versions:
7.0Show full version range for enterprise linux server
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatenterprise linux server ausAffected versions:
7.6Show full version range for enterprise linux server aus
7.7
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatenterprise linux tusAffected versions:
7.6Show full version range for enterprise linux tus
7.7
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–7 of 7 · Page 1 of 1

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE-2017-15041 · OSV (source-vector)9.8 / 10CriticalCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories14

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences