Go: User-assisted execution of arbitrary code

2018-03-07T00:00:00
ID GLSA-201803-03
Type gentoo
Reporter Gentoo Foundation
Modified 2018-03-07T00:00:00

Description

Background

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

Description

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.

Resolution

All Go users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/go-1.9.4"