Vulnerability Name:

CVE-2018-6574

Assigned:2018-02-02
Published:2018-02-07
Updated:2018-04-11
Summary: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.
CVSS v3 Severity:9.8 Critical (CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.6 High (Temporal CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.6 High (CCN Temporal CVSS v3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
5.8 Medium (REDHAT CVSS v3 Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L)
5.1 Medium (REDHAT Temporal CVSS v3 Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-284
CWE-20
References:Source: REDHAT
Type: UNKNOWN
RHSA-2018:0878

Source: XF
Type: UNKNOWN
go-cve20186574-cmd-exec(138852)

Source: CONFIRM
Type: VENDOR_ADVISORY
https://github.com/golang/go/issues/23672

Source: MISC
Type: UNKNOWN
https://github.com/KINGSABRI/CVE-in-Ruby/tree/master/CVE-2018-6574

Source: CONFIRM
Type: VENDOR_ADVISORY
https://groups.google.com/forum/#!topic/golang-nuts/Gbhh1NxAjMU

Source: CONFIRM
Type: VENDOR_ADVISORY
https://groups.google.com/forum/#!topic/golang-nuts/sprOaQ5m3Dk

Vulnerable Configuration:Configuration 1:
  • cpe:/a:golang:go:1.8.6:*:*:*:*:*:*:*
  • OR cpe:/a:golang:go:1.9:*:*:*:*:*:*:*
  • OR cpe:/a:golang:go:1.9.1:*:*:*:*:*:*:*
  • OR cpe:/a:golang:go:1.9.2:*:*:*:*:*:*:*
  • OR cpe:/a:golang:go:1.9.3:*:*:*:*:*:*:*
  • OR cpe:/a:golang:go:1.10:beta1:*:*:*:*:*:*
  • OR cpe:/a:golang:go:1.10:beta2:*:*:*:*:*:*
  • OR cpe:/a:golang:go:1.10:rc1:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*

  • Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20186574
    V
    CVE-2018-6574
    2018-04-24
    oval:com.redhat.rhsa:def:20180878
    P
    RHSA-2018:0878: golang security, bug fix, and enhancement update (Moderate)
    2018-04-10
    oval:com.ubuntu.trusty:def:20186574000
    V
    CVE-2018-6574 on Ubuntu 14.04 LTS (trusty) - low.
    2018-02-07
    oval:com.ubuntu.xenial:def:20186574000
    V
    CVE-2018-6574 on Ubuntu 16.04 LTS (xenial) - low.
    2018-02-07
    oval:com.ubuntu.artful:def:20186574000
    V
    CVE-2018-6574 on Ubuntu 17.10 (artful) - low.
    2018-02-07
    BACK
    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 beta1
    golang go 1.10 beta2
    golang go 1.10 rc1