Vulnerabilities · 2018 · Golang
CVE-2018-6574
Golang Go vulnerability
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.
Affected products
Go, Debian Linux, Enterprise Linux Server, Enterprise Linux Server Aus, Enterprise Linux Server Eus, Enterprise Linux Server Tus. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Golang Go runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/errata/RHSA-2018:0878 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:1304 · Third Party Advisory
- github.com/KINGSABRI/CVE-in-Ruby/tree/master/CVE-2018-6574 · Exploit
- github.com/golang/go/issues/23672 · Third Party Advisory
- www.debian.org/security/2019/dsa-4380 · Third Party Advisory
- groups.google.com/forum/#%21topic/golang-nuts/Gbhh1NxAjMU
- groups.google.com/forum/#%21topic/golang-nuts/sprOaQ5m3Dk
- nvd.nist.gov/vuln/detail/CVE-2018-6574
- cve.org/CVERecord?id=CVE-2018-6574
More vulnerabilities in Golang products
CVE-2026-42506CVE-2026-42502CVE-2026-27136CVE-2026-25681CVE-2026-25680CVE-2025-68121CVE-2025-68119CVE-2025-61732All 172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.