CVE-2017-15041
published 2017-10-05CVE-2017-15041: 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…
PriorityP357critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
8.94%
94.7th percentile
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."
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| golang | go | <= 1.8.3 | — |
| golang | go | — | — |
| redhat | developer_tools | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_tus | — | — |
| redhat | enterprise_linux_tus | — | — |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Remote command execution via "go get" in cmd/go
osv·2022-08-09
CVE-2017-15041 Remote command execution via "go get" in cmd/go
Remote command execution via "go get" in cmd/go
The "go get" command allows 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".
GHSA
GHSA-2w49-qg9p-7jxx: Go before 1
ghsa_unreviewed·2022-05-13
CVE-2017-15041 [CRITICAL] GHSA-2w49-qg9p-7jxx: Go before 1
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."
OSV
CVE-2017-15041: Go before 1
osv·2017-10-05·CVSS 9.8
CVE-2017-15041 [CRITICAL] CVE-2017-15041: Go before 1
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."
Red Hat
golang: arbitrary code execution during "go get" or "go get -d"
vendor_redhat·2017-10-04·CVSS 9.8
CVE-2017-15041 [CRITICAL] golang: arbitrary code execution during "go get" or "go get -d"
golang: arbitrary code execution during "go get" or "go get -d"
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."
An arbitrary command execution flaw was found in the way Go's "go get" command handled the checkout of source code r
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-15041 CVE-2017-15042 golang: various flaws [fedora-all]
bugzilla·2017-10-05·CVSS 9.8
CVE-2017-15041 [CRITICAL] CVE-2017-15041 CVE-2017-15042 golang: various flaws [fedora-all]
CVE-2017-15041 CVE-2017-15042 golang: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. W
Bugzilla
CVE-2017-15041 golang: arbitrary code execution during "go get" or "go get -d"
bugzilla·2017-10-05·CVSS 9.8
CVE-2017-15041 [CRITICAL] CVE-2017-15041 golang: arbitrary code execution during "go get" or "go get -d"
CVE-2017-15041 golang: arbitrary code execution during "go get" or "go get -d"
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 a malicious code in .git/hooks/, it will execute on the system running “go get.”
Upstream bug:
https://github.com/golang/go/issues/22125
Upstream patches:
Go 1.8: https://go-review.googlesource.com/c/go/+/68190
Go 1.9: https://go-review.googlesource.com/c/go/+/680
Bugzilla
CVE-2017-15041 CVE-2017-15042 golang: various flaws [epel-6]
bugzilla·2017-10-05·CVSS 9.8
CVE-2017-15041 [CRITICAL] CVE-2017-15041 CVE-2017-15042 golang: various flaws [epel-6]
CVE-2017-15041 CVE-2017-15042 golang: various flaws [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for the 'fedpkg update' reques
http://www.securityfocus.com/bid/101196https://access.redhat.com/errata/RHSA-2017:3463https://access.redhat.com/errata/RHSA-2018:0878https://github.com/golang/go/issues/22125https://golang.org/cl/68022https://golang.org/cl/68190https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJhttps://lists.debian.org/debian-lts-announce/2021/03/msg00014.htmlhttps://lists.debian.org/debian-lts-announce/2021/03/msg00015.htmlhttps://security.gentoo.org/glsa/201710-23http://www.securityfocus.com/bid/101196https://access.redhat.com/errata/RHSA-2017:3463https://access.redhat.com/errata/RHSA-2018:0878https://github.com/golang/go/issues/22125https://golang.org/cl/68022https://golang.org/cl/68190https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJhttps://lists.debian.org/debian-lts-announce/2021/03/msg00014.htmlhttps://lists.debian.org/debian-lts-announce/2021/03/msg00015.htmlhttps://security.gentoo.org/glsa/201710-23
2017-10-05
Published