CVE-2018-7187

Summary

CVECVE-2018-7187
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-02-16 17:29:00 UTC
Updated2022-08-16 13:01:00 UTC
DescriptionThe "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.

Risk And Classification

Problem Types: CWE-78

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Golang Go All All All All
Application Golang Go All All All All

References

ReferenceSourceLinkTags
cmd/go: arbitrary command execution via VCS path · Issue #23867 · golang/go · GitHub CONFIRM github.com Exploit, Issue Tracking, Third Party Advisory
[SECURITY] [DLA 1294-1] golang security update MLIST lists.debian.org Mailing List, Third Party Advisory
Debian -- Security Information -- DSA-4379-1 golang-1.7 DEBIAN www.debian.org Third Party Advisory
Debian -- Security Information -- DSA-4380-1 golang-1.8 DEBIAN www.debian.org Third Party Advisory
Go: Arbitrary code execution (GLSA 201804-12) — Gentoo security GENTOO security.gentoo.org Third Party Advisory
gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc MISC gist.github.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 710245 Gentoo Linux Go Arbitrary code execution Vulnerability (GLSA 201804-12)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report