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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2018-02-16T17:00:00

Updated: 2024-08-05T06:24:10.498Z

Reserved: 2018-02-16T00:00:00

Link: CVE-2018-7187

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2018-02-16T17:29:00.403

Modified: 2022-08-16T13:01:06.020

Link: CVE-2018-7187

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-02-16T00:00:00Z

Links: CVE-2018-7187 - Bugzilla