RCE in Golang Go
CVE-2018-6574
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.076 (94.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 94.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.076 · newest: 0.076 · change: 0.000
Affected products
- Golang Go — versions 1.9, 1.9.1, 1.9.2
- Debian Linux — versions 9.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Server Aus — versions 7.6
- Red Hat Enterprise Linux Server Eus — versions 7.6
- Red Hat Enterprise Linux Server Tus — versions 7.6
Weakness classification (CWE)
Public proof-of-concept exploits
References
- access.redhat.com/errata/RHSA-2018:1304 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:0878 (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2019/dsa-4380 (vendor-advisory, Third Party Advisory)
- github.com/KINGSABRI/CVE-in-Ruby/tree/master/CVE-2018-6574 (Exploit, Third Party Advisory)
- groups.google.com/forum/
- github.com/golang/go/issues/23672 (Third Party Advisory, Issue Tracking)
- groups.google.com/forum/
Frequently asked questions
- What is CVE-2018-6574?
- CVE-2018-6574 is a high-severity vulnerability in Golang Go, classified under Code Injection. CVSS score: 7.8/10. Published 2018-02-07.
- How severe is CVE-2018-6574?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2018-6574 known to be exploited?
- 132 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.