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

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.