CVE-2017-15041
Aliases:GO-2022-0177
Advisory lineage Upstream: 0 Downstream: 13
Modified
Published: 05 Oct 2017, 21:00
Last modified:05 Aug 2024, 19:42
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
3.82% LOW
4% probability -3.35%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
05 Oct 2017, 21:00
Published
Vulnerability first disclosed
05 Aug 2024, 19:42
Last Modified
Vulnerability information updated
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 Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 3.82%• Percentile: 88%
Affected Systems
- debian•debian_linux
9.0
- golang•go
≤ 1.8.3 | 1.9
- Go•toolchain
≥ 1.9.0-0, < 1.9.1
- redhat•developer_tools
1.0
- redhat•enterprise_linux_eus
7.6 | 7.7
- redhat•enterprise_linux_server
7.0
- redhat•enterprise_linux_server_aus
7.6 | 7.7
- redhat•enterprise_linux_tus
7.6 | 7.7
References (14)
- https://access.redhat.com/errata/RHSA-2017:3463
- https://access.redhat.com/errata/RHSA-2018:0878
- https://golang.org/cl/68190
- http://www.securityfocus.com/bid/101196
- https://golang.org/cl/68022
- https://security.gentoo.org/glsa/201710-23
- https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJ
- https://github.com/golang/go/issues/22125
- https://lists.debian.org/debian-lts-announce/2021/03/msg00014.html
- https://lists.debian.org/debian-lts-announce/2021/03/msg00015.html
- https://go.dev/cl/68110
- https://go.googlesource.com/go/+/ec71ee078fd3243b78c0d404c8634bd97e38d7eb
- https://go.dev/issue/22125
- https://groups.google.com/g/golang-dev/c/RinSE3EiJBI/m/kYL7zb07AgAJ