GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Wed Mar 07, 2018 8:26 pm Post subject: [ GLSA 201803-03 ] Go |
|
|
Gentoo Linux Security Advisory
Title: Go: User-assisted execution of arbitrary code (GLSA 201803-03)
Severity: high
Exploitable: remote
Date: 2018-03-07
Bug(s): #647250
ID: 201803-03
Synopsis
A vulnerability in Go might allow remote attackers to execute
arbitrary commands during source code build.
Background
Go is an open source programming language that makes it easy to build
simple, reliable, and efficient software.
Affected Packages
Package: dev-lang/go
Vulnerable: < 1.9.4
Unaffected: >= 1.9.4
Architectures: All supported architectures
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: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/go-1.9.4"
|
References
CVE-2018-6574 |
|