#VU48478 Code Injection in Go programming language


Published: 2020-11-17

Vulnerability identifier: #VU48478

Vulnerability risk: High

CVSSv3.1:

CVE-ID: CVE-2020-28366

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Go programming language
Universal components / Libraries / Scripting languages

Vendor: Google

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation at build time when cgo is in use. A remote attacker can trick the victim into building a specially crafted application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Go programming language: 1.14 - 1.14.11, 1.15 - 1.15.4, 1.13 - 1.13.15, 1.12 - 1.12.17, 1.11 - 1.11beta3, 1.10 - 1.10.8, 1.1 - 1.1.2, 1.9 - 1.9.7, 1.8 - 1.8.7, 1.7 - 1.7.6, 1.6 - 1.6.4, 1.5 - 1.5.4, 1.4 - 1.4.3, 1.3 - 1.3.3, 1.2 - 1.2.2, 1.0 - 1.0.3


CPE

External links
http://github.com/golang/go/issues/42562
http://github.com/golang/go/commit/32159824698a82a174b60a6845e8494ae3243102


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability