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)
EPSS: 0.076 (93.9th percentile) — read the EPSS interpretation.
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.
Affected products
- Golang Go — versions 1.9, 1.9.1, 1.9.2
- Debian Debian_linux — versions 9.0
- Redhat Enterprise_linux_server — versions 7.0
- Redhat Enterprise_linux_server_aus — versions 7.6
- Redhat Enterprise_linux_server_eus — versions 7.6
- Redhat Enterprise_linux_server_tus — versions 7.6
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
- cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (x_refsource_CONFIRM)
- cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory, Issue Tracking)
- cve@mitre.org (x_refsource_CONFIRM)
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.