SecurityContext

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

IdName
NVD-CWE-noinfo—

References

Same in every row:

  • Source: nvd
UrlTags
https://golang.org/cl/68022Issue Tracking, Patch, Vendor Advisory
https://golang.org/cl/68190Issue Tracking, Patch, Vendor Advisory
https://github.com/golang/go/issues/22125Issue Tracking, Patch, Third Party Advisory
https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJMailing List, Vendor Advisory
http://www.securityfocus.com/bid/101196Third Party Advisory, VDB Entry
https://access.redhat.com/errata/RHSA-2017:3463Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0878Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00014.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00015.htmlMailing List, Third Party Advisory
https://security.gentoo.org/glsa/201710-23Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
golang:go= 1.9, <= 1.8.3/v1/products/golang/go
debian:debian_linux= 9.0/v1/products/debian/debian_linux
redhat:enterprise_linux_server= 7.0/v1/products/redhat/enterprise_linux_server
redhat:enterprise_linux_server_aus= 7.7, = 7.6/v1/products/redhat/enterprise_linux_server_aus
redhat:enterprise_linux_eus= 7.7, = 7.6/v1/products/redhat/enterprise_linux_eus
redhat:enterprise_linux_tus= 7.7, = 7.6/v1/products/redhat/enterprise_linux_tus
redhat:developer_tools= 1.0/v1/products/redhat/developer_tools

Projects

RepositoryLink kindsIndexedUrl
golang/goissuesyes/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