#VU50046 OS Command Injection in Go programming language


Published: 2021-01-26 | Updated: 2021-01-27

Vulnerability identifier: #VU50046

Vulnerability risk: High

CVSSv3.1:

CVE-ID: CVE-2021-3115

CWE-ID: CWE-78

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 shell commands on the target system.

The vulnerability exists due to improper input validation when using the "go get" command to fetch modules that make use of cgo. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands 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 - 1.14.13, 1.15 - 1.15.6


CPE

External links
http://blog.golang.org/path-security
http://groups.google.com/g/golang-announce/c/mperVMGa98w


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability