CVE-2020-28367
HIGHCVSS 7.5/10EPSS 2.37%
Last modified
CVE-2020-28367 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 2.37% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.14.12 |
| Golang | Go | >= 1.15, < 1.15.5 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-28367?
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.
How severe is CVE-2020-28367?
CVE-2020-28367 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 2.37% probability of exploitation in the next 30 days.
How do I fix CVE-2020-28367?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-28360Insufficient RegEx in private-ip npm package v1.0.5 and belo…9.8
- CVE-2020-28361Kamailio before 5.4.0, as used in Sip Express Router (SER) i…5.4
- CVE-2020-28362Go before 1.14.12 and 1.15.x before 1.15.4 allows Denial of …7.5
- CVE-2020-28364A stored cross-site scripting (XSS) vulnerability affects th…6.1
- CVE-2020-28365Sentrifugo 3.2 allows Stored Cross-Site Scripting (XSS) vuln…6.1
- CVE-2020-28366Code injection in the go command with cgo before Go 1.14.12 …7.5
- CVE-2020-28368Xen through 4.14.x allows guest OS administrators to obtain …4.4
- CVE-2020-28369In BeyondTrust Privilege Management for Windows (aka PMfW) t…7.8
- CVE-2020-2837Vulnerability in the Oracle Marketing product of Oracle E-Bu…8.2
- CVE-2020-28371An issue was discovered in ReadyTalk Avian 1.2.0 before 2020…9.8
- CVE-2020-28373upnpd on certain NETGEAR devices allows remote (LAN) attacke…8.8
- CVE-2020-28374In drivers/target/target_core_xcopy.c in the Linux kernel be…8.1
Are you affected by CVE-2020-28367?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
