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.7th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

115 public repositories with exploit or proof-of-concept code for this CVE:

105 more are listed on the interactive page.

Also mentioned in 14 other repositories (0xT11/CVE-POC, ARPSyndicate/cvemon, doantung99/pentesterlab, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References