Live threats

All CVEs / Golang

CVE-2018-6574Golang Go

High 7.8

Priority
48
CVSS 3.0
7.8
EPSS
7.6%
probability of exploitation in 30 days · percentile 95
Auth required
Yes
Published
Feb 7, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go toolchain < 1.8.7 1.8.7 go get toolchain@v1.8.7
Go toolchain ≥ 1.9.0-0 < 1.9.4 1.9.4 go get toolchain@v1.9.4

Per OSV / GitHub Advisories (GO-2022-0201). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo≤ 1.8.6
golanggo1.9
golanggo1.9.1
golanggo1.9.2
golanggo1.9.3
golanggo1.10
golanggo1.10
golanggo1.10
debiandebian_linux9.0
redhatenterprise_linux_server7.0
redhatenterprise_linux_server_aus7.6
redhatenterprise_linux_server_eus7.6
redhatenterprise_linux_server_tus7.6

Official sources

References

Links published by the sources. Open them with care.