PT-2020-16998 · Google+4 · Go+4
Chris Brown
·
Published
2020-11-16
·
Updated
2024-06-15
·
CVE-2020-28366
CVSS v3.1
7.5
High
| Vector | AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Go versions prior to 1.14.12
Go versions 1.15.x prior to 1.15.5
Description
The issue allows for code injection in the go command when cgo is used, potentially leading to arbitrary code execution at build time. This can happen through a malicious unquoted symbol name in a linked object file, such as when running
go get on a malicious package or any other command that builds untrusted code.Recommendations
For Go versions prior to 1.14.12, update to version 1.14.12 or later.
For Go versions 1.15.x prior to 1.15.5, update to version 1.15.5 or later.
As a temporary workaround, consider avoiding the use of cgo with untrusted code until a patch is applied.
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Centos
Go
Red Hat
Suse