GLSA-201803-03 : Go: User-assisted execution of arbitrary code

High Nessus Plugin ID 107201


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


The remote host is affected by the vulnerability described in GLSA-201803-03 (Go: User-assisted execution of arbitrary code)

A command injection flaw was discovered in the source code build phase because of the “go get” command, which does not block -fplugin= and
-plugin arguments.
Impact :

A remote attacker could entice a user to process a repository containing maliciously-crafted build instructions using “go get”, resulting in the execution of arbitrary code with the privileges of the process.
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.9.4'

See Also

Plugin Details

Severity: High

ID: 107201

File Name: gentoo_GLSA-201803-03.nasl

Version: 1.1

Type: local

Published: 2018/03/08

Dependencies: 12634

Risk Information

Risk Factor: High

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: 2018/03/07

Reference Information

GLSA: 201803-03