Arbitrary Code Injection Affecting go package, versions <1.9.4-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
7.63% (94th 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 IDSNYK-ALPINE322-GO-10279568
  • published31 May 2025
  • disclosed7 Feb 2018

Introduced: 7 Feb 2018

CVE-2018-6574  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Alpine:3.22 go to version 1.9.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream go package and not the go package as distributed by Alpine. See How to fix? for Alpine:3.22 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.