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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-1294-1 golang security update
Debian DSA Debian DSA DSA-4379-1 golang-1.7 security update
Debian DSA Debian DSA DSA-4380-1 golang-1.8 security update
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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 : Modified

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

Modified: 2024-11-21T04:11:45.270

Link: CVE-2018-7187

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2018-7187 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses