Bugzilla – Bug 1062085
VUL-0: CVE-2017-15041: golang: arbitrary code execution during “go get” or “go get -d”
Last modified: 2022-02-15 21:55:35 UTC
rh#1498870 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." References: https://bugzilla.redhat.com/show_bug.cgi?id=1498870 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-15041 http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-15041.html http://www.cvedetails.com/cve/CVE-2017-15041/ https://golang.org/cl/68190 https://golang.org/cl/68022 https://github.com/golang/go/issues/22125 https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJ
Reassigning to Thomas who is charge of go packages.
Note that we don't ship go (the actual compiler) in SLE, so this is only of concern to openSUSE.
This is an autogenerated message for OBS integration: This bug (1062085) was mentioned in https://build.opensuse.org/request/show/610123 Factory / go1.10
This is an autogenerated message for OBS integration: This bug (1062085) was mentioned in https://build.opensuse.org/request/show/658307 Factory / go1.10 https://build.opensuse.org/request/show/658308 Factory / go1.11
This is an autogenerated message for OBS integration: This bug (1062085) was mentioned in https://build.opensuse.org/request/show/658934 15.0+42.3 / go1.11
This is an autogenerated message for OBS integration: This bug (1062085) was mentioned in https://build.opensuse.org/request/show/679777 Factory / go1.11
This is an autogenerated message for OBS integration: This bug (1062085) was mentioned in https://build.opensuse.org/request/show/688187 Factory / go1.12
This was fixed with submission sr#192108 inside the go1.12 package. Closing bug.