Go: Arbitrary code execution — GLSA 201804-12

A vulnerability in Go allows remote attackers to execute arbitrary commands.

Affected packages

dev-lang/go on all architectures
Affected versions < 1.10.1
Unaffected versions >= 1.10.1

Background

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

Description

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.

Resolution

All Go users should upgrade to the latest version:

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

References

Release date
April 15, 2018

Latest revision
April 15, 2018: 1

Severity
normal

Exploitable
remote

Bugzilla entries