National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2018-7187 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 8.8 HIGH
Vector:  CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc Third Party Advisory
https://github.com/golang/go/issues/23867 Exploit Issue Tracking Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html Mailing List Third Party Advisory
https://security.gentoo.org/glsa/201804-12 Third Party Advisory
https://www.debian.org/security/2019/dsa-4379 Third Party Advisory
https://www.debian.org/security/2019/dsa-4380 Third Party Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
1.10.1

Configuration 2 ( hide )
 cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

6 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-7187
NVD Published Date:
02/16/2018
NVD Last Modified:
02/28/2019