GLSA-201804-12 : Go: Arbitrary code execution

high Nessus Plugin ID 109056
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201804-12 (Go: Arbitrary code execution)

A vulnerability in Go was discovered which does not validate the import path of remote repositories.
Impact :

Remote attackers, by enticing a user to import from a crafted website, could execute arbitrary commands.
Workaround :

There is no known workaround at this time.


All Go users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/go-1.10.1'

See Also

Plugin Details

Severity: High

ID: 109056

File Name: gentoo_GLSA-201804-12.nasl

Version: 1.2

Type: local

Published: 4/16/2018

Updated: 6/7/2018

Dependencies: ssh_get_info.nasl

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: High

Base Score: 9.3

Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C


Risk Factor: High

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:go, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 4/15/2018

Reference Information

CVE: CVE-2018-7187

GLSA: 201804-12