Critical severity · published Oct 5, 2017
CVE-2017-15041
Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution
9.8
CVSS
9.3%
EPSS
No
On KEV
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."
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)9.3% · higher than 95% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
9.0 · source: NVD
DT
Developer Tools · Redhat
1.0 · source: NVD
EL
Enterprise Linux Eus · Redhat
7.6; 7.7 · source: NVD
EL
Enterprise Linux Server · Redhat
7.0 · source: NVD
EL
Enterprise Linux Server Aus · Redhat
7.6; 7.7 · source: NVD
EL
Enterprise Linux Tus · Redhat
7.6; 7.7 · source: NVD
GO
GO · Golang
through 1.8.3; 1.9 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-15041
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-15041
Third Party Advisory
http://www.securityfocus.com/bid/101196
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3463
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0878
Issue Tracking
https://github.com/golang/go/issues/22125
Issue Tracking
https://golang.org/cl/68022
Issue Tracking
https://golang.org/cl/68190
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
