Vulnerability Details : CVE-2018-7187
Potential exploit
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.
Products affected by CVE-2018-7187
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-7187
22.75%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 95 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-7187
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.3
|
HIGH | AV:N/AC:M/Au:N/C:C/I:C/A:C |
8.6
|
10.0
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2018-7187
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-7187
-
https://www.debian.org/security/2019/dsa-4379
Debian -- Security Information -- DSA-4379-1 golang-1.7Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html
[SECURITY] [DLA 1294-1] golang security updateMailing List;Third Party Advisory
-
https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc
Page not found · GitHub · GitHubThird Party Advisory
-
https://www.debian.org/security/2019/dsa-4380
Debian -- Security Information -- DSA-4380-1 golang-1.8Third Party Advisory
-
https://security.gentoo.org/glsa/201804-12
Go: Arbitrary code execution (GLSA 201804-12) — Gentoo securityThird Party Advisory
-
https://github.com/golang/go/issues/23867
cmd/go: arbitrary command execution via VCS path · Issue #23867 · golang/go · GitHubExploit;Issue Tracking;Third Party Advisory
Jump to