CVE-2018-7187
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…
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 63.0%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 63.03% probability · 99th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- golang/go · debian/debian linux
- Source
- cve@mitre.org
References
- https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffcThird Party Advisory
- https://github.com/golang/go/issues/23867Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00029.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201804-12Third Party Advisory
- https://www.debian.org/security/2019/dsa-4379Third Party Advisory
- https://www.debian.org/security/2019/dsa-4380Third Party Advisory
- https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffcThird Party Advisory
- https://github.com/golang/go/issues/23867Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00029.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201804-12Third Party Advisory
- https://www.debian.org/security/2019/dsa-4379Third Party Advisory
- https://www.debian.org/security/2019/dsa-4380Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.