← Back to CVEs
CVE-2018-7187
HIGH8.8
Description
The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only checks for "://" anywhere in the string), which allows remote attackers to execute arbitrary OS commands via a crafted web site.
CVE Details
CVSS v3.1 Score8.8
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionREQUIRED
Published2/16/2018
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
debian:debian_linuxgolang:go
Weaknesses (CWE)
CWE-78
References
https://github.com/golang/go/issues/23867(cve@mitre.org)
https://security.gentoo.org/glsa/201804-12(cve@mitre.org)
https://www.debian.org/security/2019/dsa-4379(cve@mitre.org)
https://www.debian.org/security/2019/dsa-4380(cve@mitre.org)
https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/golang/go/issues/23867(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html(af854a3a-2127-422b-91ae-364da2661108)
https://security.gentoo.org/glsa/201804-12(af854a3a-2127-422b-91ae-364da2661108)
https://www.debian.org/security/2019/dsa-4379(af854a3a-2127-422b-91ae-364da2661108)
https://www.debian.org/security/2019/dsa-4380(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.