CVE-2018-6574Golang Go
High 7.8
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Go.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | ≤ 1.8.6 |
| golang | go | 1.9 |
| golang | go | 1.9.1 |
| golang | go | 1.9.2 |
| golang | go | 1.9.3 |
| golang | go | 1.10 |
| golang | go | 1.10 |
| golang | go | 1.10 |
| debian | debian_linux | 9.0 |
| redhat | enterprise_linux_server | 7.0 |
| redhat | enterprise_linux_server_aus | 7.6 |
| redhat | enterprise_linux_server_eus | 7.6 |
| redhat | enterprise_linux_server_tus | 7.6 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- groups.google.com
- groups.google.com
- www.debian.org Third Party Advisory