CVE-2018-7187

golang: arbitrary command execution via VCS path

Published Feb 16, 2018 CVSS 3.1 · 8.8 High EPSS 63.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 6:24 AM
Reserved
Feb 16, 2018, 12:00 AM
Status
Modified
Published
Feb 16, 2018, 5:29 PM
Modified
Jun 17, 2026, 2:02 AM
Severity
Moderate
Public date
Feb 16, 2018, 12:00 AM