Description

Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a #cgo directive.

INFO

Published Date :

Nov. 18, 2020, 5:15 p.m.

Last Modified :

Nov. 7, 2023, 3:21 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

1.6
Public PoC/Exploit Available at Github

CVE-2020-28367 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2020-28367 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Golang go
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Dockerfile

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : Oct. 15, 2024, 2:12 p.m. This repo has been linked 49 different CVEs too.

None

Dockerfile

Updated: 1 year ago
0 stars 0 fork 0 watcher
Born at : Oct. 31, 2023, 7:09 p.m. This repo has been linked 49 different CVEs too.

None

Dockerfile

Updated: 7 months ago
0 stars 1 fork 1 watcher
Born at : March 27, 2023, 3:07 p.m. This repo has been linked 49 different CVEs too.

Container image with malware and crypto miner for testing purposes

container crypto cryptominer dockerfile eicar image malware test xmrig

Dockerfile

Updated: 2 months, 2 weeks ago
40 stars 20 fork 20 watcher
Born at : Nov. 4, 2022, 9:16 a.m. This repo has been linked 49 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-28367 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-28367 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference Go Project https://go.dev/cl/267277 [No types assigned]
    Added Reference Go Project https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561 [No types assigned]
    Added Reference Go Project https://go.dev/issue/42556 [No types assigned]
    Added Reference Go Project https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM [No types assigned]
    Added Reference Go Project https://pkg.go.dev/vuln/GO-2022-0476 [No types assigned]
    Added Reference Go Project https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html [No types assigned]
    Removed Reference MITRE https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM
    Removed Reference MITRE https://pkg.go.dev/vuln/GO-2022-0476
    Removed Reference MITRE https://go.dev/issue/42556
    Removed Reference MITRE https://go.dev/cl/267277
    Removed Reference MITRE https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561
    Removed Reference MITRE https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
    Removed CWE MITRE CWE-94
  • CVE Source Update by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Source MITRE Go Project
  • CVE Modified by [email protected]

    Apr. 20, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 03, 2023

    Action Type Old Value New Value
    Changed Reference Type https://go.dev/cl/267277 Release Notes, Vendor Advisory https://go.dev/cl/267277 Product, Release Notes
    Changed Reference Type https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561 Third Party Advisory https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561 Product
    Changed Reference Type https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM Third Party Advisory https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM Mailing List, Third Party Advisory
    Removed CWE NIST CWE-88
    Added CWE NIST CWE-94
  • CVE Modified by [email protected]

    Dec. 29, 2022

    Action Type Old Value New Value
    Added CWE MITRE CWE-94
  • Modified Analysis by [email protected]

    Dec. 06, 2022

    Action Type Old Value New Value
    Changed Reference Type https://go.dev/cl/267277 No Types Assigned https://go.dev/cl/267277 Release Notes, Vendor Advisory
    Changed Reference Type https://go.dev/issue/42556 No Types Assigned https://go.dev/issue/42556 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561 No Types Assigned https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561 Third Party Advisory
    Changed Reference Type https://pkg.go.dev/vuln/GO-2022-0476 No Types Assigned https://pkg.go.dev/vuln/GO-2022-0476 Vendor Advisory
    Removed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    Removed CPE Configuration OR *cpe:2.3:a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Aug. 10, 2022

    Action Type Old Value New Value
    Changed Description Go before 1.14.12 and 1.15.x before 1.15.5 allows Argument Injection. Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a #cgo directive.
    Removed Reference https://github.com/golang/go/issues/42556 [Third Party Advisory]
    Removed Reference https://lists.apache.org/thread.html/rd02e75766cd333a0df417588460f5e4477060633000bfe94955851fd@%3Cissues.trafficcontrol.apache.org%3E [Mailing List, Vendor Advisory]
    Removed Reference https://lists.debian.org/debian-lts-announce/2020/11/msg00038.html [Third Party Advisory]
    Removed Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/2W4COUPL3YVTZ6RTEIT6LPBDJUFF3VSP/ [Mailing List, Third Party Advisory]
    Removed Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/F3ZSHGNTJWCWYAKY5OLZS2XQQYHSXSUO/ [Third Party Advisory]
    Removed Reference https://security.gentoo.org/glsa/202208-02 [Third Party Advisory]
    Removed Reference https://security.netapp.com/advisory/ntap-20201202-0004/ [Third Party Advisory]
    Added Reference https://pkg.go.dev/vuln/GO-2022-0476 [No Types Assigned]
    Added Reference https://go.dev/issue/42556 [No Types Assigned]
    Added Reference https://go.dev/cl/267277 [No Types Assigned]
    Added Reference https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561 [No Types Assigned]
  • Modified Analysis by [email protected]

    Aug. 06, 2022

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/2W4COUPL3YVTZ6RTEIT6LPBDJUFF3VSP/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/2W4COUPL3YVTZ6RTEIT6LPBDJUFF3VSP/ Mailing List, Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/202208-02 No Types Assigned https://security.gentoo.org/glsa/202208-02 Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20201202-0004/ No Types Assigned https://security.netapp.com/advisory/ntap-20201202-0004/ Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions up to (excluding) 1.14.12 *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions from (including) 1.15 up to (excluding) 1.15.4 OR *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions up to (excluding) 1.14.12 *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions from (including) 1.15 up to (excluding) 1.15.5
    Changed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Aug. 04, 2022

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202208-02 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 16, 2020

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/2W4COUPL3YVTZ6RTEIT6LPBDJUFF3VSP/ [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 02, 2020

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20201202-0004/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Nov. 24, 2020

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Removed CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V2 NIST (AV:N/AC:H/Au:N/C:P/I:P/A:P)
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2020/11/msg00038.html No Types Assigned https://lists.debian.org/debian-lts-announce/2020/11/msg00038.html Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/F3ZSHGNTJWCWYAKY5OLZS2XQQYHSXSUO/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/F3ZSHGNTJWCWYAKY5OLZS2XQQYHSXSUO/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Nov. 23, 2020

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/F3ZSHGNTJWCWYAKY5OLZS2XQQYHSXSUO/ [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 21, 2020

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2020/11/msg00038.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Nov. 19, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/golang/go/issues/42556 No Types Assigned https://github.com/golang/go/issues/42556 Third Party Advisory
    Changed Reference Type https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM No Types Assigned https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM Third Party Advisory
    Changed Reference Type https://lists.apache.org/thread.html/rd02e75766cd333a0df417588460f5e4477060633000bfe94955851fd@%3Cissues.trafficcontrol.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/rd02e75766cd333a0df417588460f5e4477060633000bfe94955851fd@%3Cissues.trafficcontrol.apache.org%3E Mailing List, Vendor Advisory
    Added CWE NIST CWE-88
    Added CPE Configuration OR *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions up to (excluding) 1.14.12 *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions from (including) 1.15 up to (excluding) 1.15.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-28367 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-28367 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.14 }} 0.26%

score

0.89522

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability