Arbitrary Code Injection Affecting golang-misc package, versions <0:1.9.4-2.44.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating

    Threat Intelligence

    EPSS
    3.17% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-AMZN201803-GOLANGMISC-1711382
  • published 27 Sep 2021
  • disclosed 7 Feb 2018

How to fix?

Upgrade Amazon-Linux:2018.03 golang-misc to version 0:1.9.4-2.44.amzn1 or higher.
This issue was patched in ALAS-2018-975.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-misc package and not the golang-misc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

Go before 1.8.7, Go 1.9.x before 1.9.4, and Go 1.10 pre-releases before Go 1.10rc2 allow "go get" remote command execution during source code build, by leveraging the gcc or clang plugin feature, because -fplugin= and -plugin= arguments were not blocked.