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
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 7.177%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Debian | debian linux | Affected versions:9.0Show full version range for debian linux
|
| Vendor:golang | go | Affected versions:≤ 1.8.3Show full version range for go1.9
|
| Vendor:redhat | developer tools | Affected versions:1.0Show full version range for developer tools
|
| Vendor:redhat | enterprise linux eus | Affected versions:7.6Show full version range for enterprise linux eus7.7
|
| Vendor:redhat | enterprise linux server | Affected versions:7.0Show full version range for enterprise linux server
|
| Vendor:redhat | enterprise linux server aus | Affected versions:7.6Show full version range for enterprise linux server aus7.7
|
| Vendor:redhat | enterprise linux tus | Affected versions:7.6Show full version range for enterprise linux tus7.7
|
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:HCVE-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:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
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