CVE-2017-15041

Summary

CVECVE-2017-15041
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-10-05 21:29:00 UTC
Updated2021-03-19 20:11:00 UTC
DescriptionGo 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."

Risk And Classification

Problem Types: NVD-CWE-noinfo

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 9.0 All All All
Application Golang Go 1.9 All All All
Application Golang Go 1.9 - All All
Application Golang Go 1.9 All All All
Application Golang Go All All All All
Application Redhat Developer Tools 1.0 All All All
Operating System Redhat Enterprise Linux Eus 7.6 All All All
Operating System Redhat Enterprise Linux Eus 7.7 All All All
Operating System Redhat Enterprise Linux Server 7.0 All All All
Operating System Redhat Enterprise Linux Server Aus 7.6 All All All
Operating System Redhat Enterprise Linux Server Aus 7.7 All All All
Operating System Redhat Enterprise Linux Tus 7.6 All All All
Operating System Redhat Enterprise Linux Tus 7.7 All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 2591-1] golang-1.7 security update MLIST lists.debian.org Mailing List, Third Party Advisory
[SECURITY] [DLA 2592-1] golang-1.8 security update MLIST lists.debian.org Mailing List, Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Google Groups CONFIRM groups.google.com Mailing List, Vendor Advisory
Go: Multiple vulnerabilities (GLSA 201710-23) — Gentoo Security GENTOO security.gentoo.org Third Party Advisory
Golang Go CVE-2017-15041 Remote Code Execution Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
golang.org/cl/68022 CONFIRM golang.org Issue Tracking, Patch, Vendor Advisory
golang.org/cl/68190 CONFIRM golang.org Issue Tracking, Patch, Vendor Advisory
cmd/go: arbitrary code execution during “go get” or “go get -d” [Go 1.8] · Issue #22125 · golang/go · GitHub CONFIRM github.com Issue Tracking, Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 296075 Oracle Solaris 11.4 Support Repository Update (SRU) 21.69.0 Missing (CPUAPR2020)
  • 710511 Gentoo Linux Go Multiple Vulnerabilities (GLSA 201710-23)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report