← Vulnerability feed

Vulnerability record · CVE-2017-15041 · published 5 October 2017

CVE-2017-15041: Golang go vulnerability

Golang · Go

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."

9.8 CVSS 3.1 Critical EPSS 8.9% · top 4.9%
9.8CVSS 3.1 base score, v2 7.5
8.9%EPSS exploitation probability, 30 days
NoNot in CISA KEV
7Affected product versions listed by NVD
20References
17 Jun 2026Last modified by NVD

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

7 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://www.securityfocus.com/bid/101196 Third Party AdvisoryVDB Entry
https://access.redhat.com/errata/RHSA-2017:3463 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0878 Third Party Advisory
https://github.com/golang/go/issues/22125 Issue TrackingPatchThird Party Advisory
https://golang.org/cl/68022 Issue TrackingPatchVendor Advisory
https://golang.org/cl/68190 Issue TrackingPatchVendor Advisory
https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJ Mailing ListVendor Advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00014.html Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00015.html Mailing ListThird Party Advisory
https://security.gentoo.org/glsa/201710-23 Third Party Advisory
http://www.securityfocus.com/bid/101196 Third Party AdvisoryVDB Entry
https://access.redhat.com/errata/RHSA-2017:3463 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0878 Third Party Advisory
https://github.com/golang/go/issues/22125 Issue TrackingPatchThird Party Advisory
https://golang.org/cl/68022 Issue TrackingPatchVendor Advisory
https://golang.org/cl/68190 Issue TrackingPatchVendor Advisory
https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJ Mailing ListVendor Advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00014.html Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00015.html Mailing ListThird Party Advisory
https://security.gentoo.org/glsa/201710-23 Third Party Advisory

Track CVE-2017-15041 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2017-15041), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.