CVE-2017-15041: Go - Command Injection
- Cve: CVE-2017-15041
- Name: Go - Command Injection
- Description: 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."
- Impact: Attackers can execute arbitrary commands on the system running 'go get', potentially leading to full system compromise.
- Remediation: Update to Go 1.8.4 or later, and 1.9.1 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.08944
- Epss percentile: 0.95374
- Assignee: [email protected]
- Published at: 2017-10-05T21:29:00Z
- Age in days: 3337
- Modified at: 2026-06-17T01:07:10Z
- Patch available: yes
- References total: 10
- Products total: 7
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-15041
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://golang.org/cl/68022 | Issue Tracking, Patch, Vendor Advisory |
| https://golang.org/cl/68190 | Issue Tracking, Patch, Vendor Advisory |
| https://github.com/golang/go/issues/22125 | Issue Tracking, Patch, Third Party Advisory |
| https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJ | Mailing List, Vendor Advisory |
| http://www.securityfocus.com/bid/101196 | Third Party Advisory, VDB Entry |
| https://access.redhat.com/errata/RHSA-2017:3463 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2018:0878 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/03/msg00014.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/03/msg00015.html | Mailing List, Third Party Advisory |
| https://security.gentoo.org/glsa/201710-23 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| golang/go | issues | yes | /v1/repositories/golang/go |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 4706702
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports