Vulnerability Name:

CVE-2021-3115 (CCN-195678)

Assigned:2021-01-19
Published:2021-01-19
Updated:2022-09-14
Summary:Go before 1.14.14 and 1.15.x before 1.15.7 on Windows is vulnerable to Command Injection and remote code execution when using the "go get" command to fetch modules that make use of cgo (for example, cgo can execute a gcc program from an untrusted download).
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
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
7.5 High (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.5 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:5.1 Medium (CVSS v2 Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
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-427
CWE-94
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-3115

Source: CONFIRM
Type: Vendor Advisory
https://blog.golang.org/path-security

Source: XF
Type: UNKNOWN
golang-cve20213115-code-exec(195678)

Source: CCN
Type: Go GIT Repository
cmd/go: packages using cgo can cause arbitrary code execution on Windows #43783

Source: CCN
Type: Google Groups Web site
[security] Go 1.15.7 and Go 1.14.14 are released

Source: CONFIRM
Type: Release Notes, Third Party Advisory
https://groups.google.com/g/golang-announce/c/mperVMGa98w

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-e435a8bb88

Source: GENTOO
Type: Third Party Advisory
GLSA-202208-02

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20210219-0001/

Source: CCN
Type: IBM Security Bulletin 6417593 (Security Guardium Insights)
IBM Security Guardium Insights is affected by multiple vulnerabilities

Source: CCN
Type: IBM Security Bulletin 6417595 (Cloud Private)
IBM Cloud Private is vulnerable to Go vulnerabilities (CVE-2021-3114, CVE-2021-3115)

Source: CCN
Type: IBM Security Bulletin 6435151 (Cloud Pak for Integration)
IBM Cloud Pak for Integration is vulnerable to Go vulnerabilities (CVE-2021-3114 and CVE-2021-3115)

Source: CCN
Type: IBM Security Bulletin 6435173 (Cloud Pak for Integration)
Operations Dashboard is vulnerable to Go vulnerabilities (CVE-2021-3114 and CVE-2021-3115)

Source: CCN
Type: IBM Security Bulletin 6446255 (Spectrum Protect Plus)
Vulnerabilities in Golang affect IBM Spectrum Protect Plus Container backup and restore for Kubernetes and OpenShift (CVE-2021-3114, CVE-2021-3115)

Source: CCN
Type: IBM Security Bulletin 6454051 (Cloud Pak for Multicloud Management)
Security vulnerabilities in Go affect IBM Cloud Pak for Multicloud Management Hybrid GRC

Source: CCN
Type: IBM Security Bulletin 6468505 (Watson Discovery)
IBM Watson Discovery for IBM Cloud Pak for Data affected by vulnerability in Go

Source: CCN
Type: IBM Security Bulletin 6482273 (Cloud Pak for Multicloud Management)
IBM Cloud Pak for Multicloud Management Monitoring has applied security fixes for its use of Golang Go

Source: CCN
Type: IBM Security Bulletin 6551876 (Cloud Pak for Security)
Cloud Pak for Security uses packages that are vulnerable to multiple CVEs

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-3115

Vulnerable Configuration:Configuration 1:
  • cpe:/a:golang:go:*:*:*:*:*:*:*:* (Version < 1.14.14)
  • OR cpe:/a:golang:go:*:*:*:*:*:*:*:* (Version >= 1.15 and < 1.15.7)
  • AND
  • cpe:/o:microsoft:windows:-:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:33:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/a:netapp:storagegrid:-:*:*:*:*:*:*:*
  • OR cpe:/a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/a:redhat:enterprise_linux:8:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/a:redhat:enterprise_linux:8::appstream:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:golang:go:1.14:-:*:*:*:*:*:*
  • OR cpe:/a:golang:go:1.15.0:-:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:watson_discovery:2.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:spectrum_protect_plus:10.1.5:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:cloud_private:3.2.1:cd:*:*:*:*:*:*
  • OR cpe:/a:ibm:spectrum_protect_plus:10.1.6:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:cloud_private:3.2.2:cd:*:*:*:*:*:*
  • OR cpe:/a:ibm:spectrum_protect_plus:10.1.7:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:watson_discovery:2.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:cloud_pak_for_security:1.7.2.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:95310
    P
    Security update for MozillaFirefox (Important)
    2022-07-06
    oval:org.opensuse.security:def:94900
    P
    ftdump-2.10.1-4.8.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:94901
    P
    fwupd-1.7.3-150400.2.7 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:99498
    P
    (Important)
    2022-03-10
    oval:org.opensuse.security:def:99496
    P
    (Important)
    2022-03-08
    oval:org.opensuse.security:def:102023
    P
    Security update for the Linux Kernel (Live Patch 7 for SLE 15 SP3) (Important)
    2022-03-02
    oval:org.opensuse.security:def:101614
    P
    Security update for log4j12 (Important)
    2022-01-28
    oval:org.opensuse.security:def:112333
    P
    go1.14-1.14.15-1.6 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:112334
    P
    go1.15-1.15.15-1.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:101613
    P
    Security update for libvirt (Important)
    2022-01-04
    oval:org.opensuse.security:def:99697
    P
    (Important)
    2021-12-01
    oval:org.opensuse.security:def:99695
    P
    (Important)
    2021-11-11
    oval:org.opensuse.security:def:105855
    P
    Security update for binutils (Moderate)
    2021-11-04
    oval:org.opensuse.security:def:105854
    P
    Security update for qemu (Important)
    2021-11-04
    oval:org.opensuse.security:def:100005
    P
    (Important)
    2021-10-25
    oval:org.opensuse.security:def:100003
    P
    (Moderate)
    2021-10-20
    oval:org.opensuse.security:def:4491
    P
    Security update for the Linux Kernel (Live Patch 21 for SLE 12 SP5) (Important)
    2021-09-16
    oval:org.opensuse.security:def:4492
    P
    Security update for the Linux Kernel (Live Patch 22 for SLE 12 SP5) (Important)
    2021-09-16
    oval:org.opensuse.security:def:101267
    P
    go1.14-1.14.15-1.35.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:72728
    P
    go1.14-1.14.15-1.35.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:1920
    P
    go1.14-1.14.15-1.35.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:63009
    P
    go1.14-1.14.15-1.35.1 on GA media (Moderate)
    2021-08-09
    oval:org.opensuse.security:def:93098
    P
    (Important)
    2021-07-14
    oval:org.opensuse.security:def:93097
    P
    (Moderate)
    2021-06-29
    oval:org.opensuse.security:def:99107
    P
    (Moderate)
    2021-06-04
    oval:org.opensuse.security:def:93251
    P
    (Important)
    2021-06-03
    oval:org.opensuse.security:def:99105
    P
    (Important)
    2021-06-02
    oval:org.opensuse.security:def:93250
    P
    (Important)
    2021-06-02
    oval:org.opensuse.security:def:5762
    P
    Security update for curl (Moderate)
    2021-05-26
    oval:com.redhat.rhsa:def:20211746
    P
    RHSA-2021:1746: go-toolset:rhel8 security, bug fix, and enhancement update (Moderate)
    2021-05-18
    oval:org.opensuse.security:def:111196
    P
    Security update for go1.14 (Moderate)
    2021-01-30
    oval:org.opensuse.security:def:110659
    P
    Security update for go1.14 (Moderate)
    2021-01-29
    oval:org.opensuse.security:def:111195
    P
    Security update for go1.15 (Moderate)
    2021-01-29
    oval:org.opensuse.security:def:92349
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:8801
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:92747
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:108280
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:69689
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:74649
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:98912
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:9549
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:70439
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:65581
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:99299
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:10299
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:92157
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:92548
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:8996
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:92945
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:117794
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:69888
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:9748
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:91962
    P
    Security update for go1.15 (Moderate)
    2021-01-28
    oval:org.opensuse.security:def:9547
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:70437
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:65580
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:99297
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:10297
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:92155
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:92546
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:97153
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:8994
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:92944
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:108689
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:117793
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:69886
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:75919
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:9746
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:91960
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:97154
    P
    Security update for go1.15 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:66851
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:92347
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:8799
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:92745
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:108279
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:69687
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:74648
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    oval:org.opensuse.security:def:98910
    P
    Security update for go1.14 (Moderate)
    2021-01-26
    BACK
    golang go *
    golang go *
    microsoft windows -
    fedoraproject fedora 33
    netapp storagegrid -
    netapp cloud insights telegraf agent -
    golang go 1.14 -
    golang go 1.15.0 -
    ibm watson discovery 2.0.0
    ibm spectrum protect plus 10.1.5
    ibm cloud private 3.2.1 cd
    ibm spectrum protect plus 10.1.6
    ibm cloud private 3.2.2 cd
    ibm spectrum protect plus 10.1.7
    ibm watson discovery 2.2.1
    ibm cloud pak for security 1.7.2.0