Security mailing lists by PureSourceCode

CVE-2018-6574

HIGH 7.8CVSS 3.0

Remote command execution via "go get" command with cgo in cmd/go

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.

Published
7 Feb 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-94
Also known as
GO-2022-0201
Sources
NVDJSONOSV GO-2022-0201JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
<= 1.8.6
NVD golang go
cpe:2.3:a:golang:go:1.9:*:*:*:*:*:*:*
= 1.9
NVD golang go
cpe:2.3:a:golang:go:1.9.1:*:*:*:*:*:*:*
= 1.9.1
NVD golang go
cpe:2.3:a:golang:go:1.9.2:*:*:*:*:*:*:*
= 1.9.2
NVD golang go
cpe:2.3:a:golang:go:1.9.3:*:*:*:*:*:*:*
= 1.9.3
NVD golang go
cpe:2.3:a:golang:go:1.10:beta1:*:*:*:*:*:*
= 1.10
NVD golang go
cpe:2.3:a:golang:go:1.10:beta2:*:*:*:*:*:*
= 1.10
NVD golang go
cpe:2.3:a:golang:go:1.10:rc1:*:*:*:*:*:*
= 1.10
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD redhat enterprise_linux_server
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux_server_aus
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
= 7.6
NVD redhat enterprise_linux_server_eus
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
= 7.6
NVD redhat enterprise_linux_server_tus
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
= 7.6
OSV Go toolchain < 1.8.7; >= 1.9.0-0, < 1.9.4 1.8.7, 1.9.4

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 7 Feb 2018)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Aug 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.