Amazon Linux 1 Security Advisory: ALAS-2018-975
Advisory Release Date: 2018-03-21 22:13 Pacific
Advisory Updated Date: 2018-04-19 22:38 Pacific
Arbitrary code execution during "go get" via C compiler options:
An arbitrary command execution flaw was found in the way Go's "go get" command handled gcc and clang sensitive options during the build. A remote attacker capable of hosting malicious repositories could potentially use this flaw to cause arbitrary command execution on the client side. (CVE-2018-6574)
The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only checks for "://" anywhere in the string), which allows remote attackers to execute arbitrary OS commands via a crafted web site. (CVE-2018-7187)
Affected Packages:
golang
Issue Correction:
Run yum update golang to update your system.
i686:
golang-bin-1.9.4-2.44.amzn1.i686
golang-1.9.4-2.44.amzn1.i686
noarch:
golang-tests-1.9.4-2.44.amzn1.noarch
golang-docs-1.9.4-2.44.amzn1.noarch
golang-src-1.9.4-2.44.amzn1.noarch
golang-misc-1.9.4-2.44.amzn1.noarch
src:
golang-1.9.4-2.44.amzn1.src
x86_64:
golang-race-1.9.4-2.44.amzn1.x86_64
golang-1.9.4-2.44.amzn1.x86_64
golang-bin-1.9.4-2.44.amzn1.x86_64