CVE-2018-6574

NameCVE-2018-6574
DescriptionGo 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang (PTS)wheezy2:1.0.2-1.1vulnerable
wheezy (security)2:1.0.2-1.1+deb7u3vulnerable
jessie2:1.3.3-1vulnerable
golang-1.10 (PTS)buster1.10.1-3fixed
sid1.10.2-1fixed
golang-1.7 (PTS)stretch1.7.4-2vulnerable
buster1.7.6-1vulnerable
sid1.7.6-2vulnerable
golang-1.8 (PTS)stretch1.8.1-1vulnerable
sid1.8.5-1vulnerable
golang-1.9 (PTS)buster, sid1.9.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golangsource(unstable)(unfixed)high
golang-1.10source(unstable)1.10~rc2-1high
golang-1.7source(unstable)(unfixed)high
golang-1.8source(unstable)(unfixed)high
golang-1.9source(unstable)1.9.4-1high

Notes

[stretch] - golang-1.8 <ignored> (Minor issue)
[stretch] - golang-1.7 <ignored> (Minor issue)
[jessie] - golang <ignored> (Minor issue)
[wheezy] - golang <ignored> (Minor issue)
https://github.com/golang/go/issues/23672
https://go.googlesource.com/go/+/44821583bc16ff2508664fab94360bb856e9e9d6
https://go.googlesource.com/go/+/867fb18b6d5bc73266b68c9a695558a04e060a8a

Search for package or bug name: Reporting problems