CVE-2017-15041 Affecting golang-src package, versions <0:1.9.4-1.el7
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RHEL7-GOLANGSRC-4812167
- published 26 Jul 2021
- disclosed 4 Oct 2017
Introduced: 4 Oct 2017
CVE-2017-15041 Open this link in a new tabHow to fix?
Upgrade RHEL:7
golang-src
to version 0:1.9.4-1.el7 or higher.
This issue was patched in RHSA-2018:0878
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream golang-src
package and not the golang-src
package as distributed by RHEL
.
See How to fix?
for RHEL:7
relevant fixed versions and status.
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
- http://www.securityfocus.com/bid/101196
- https://github.com/golang/go/issues/22125
- https://golang.org/cl/68022
- https://golang.org/cl/68190
- https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJ
- https://access.redhat.com/security/cve/CVE-2017-15041
- https://security.gentoo.org/glsa/201710-23
- https://lists.debian.org/debian-lts-announce/2021/03/msg00014.html
- https://lists.debian.org/debian-lts-announce/2021/03/msg00015.html
- https://access.redhat.com/errata/RHSA-2018:0878