QID 375393
Date Published: 2021-04-21
QID 375393: Go Command Injection and Remote Code Execution Vulnerability
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Go on Windows is vulnerable to Command Injection and remote code execution when using the "go get" command to fetch modules that make use of cgo (for example, cgo can execute a gcc program from an untrusted download).
Affected Version:
Go versions before 1.14.14
Go versions and 1.15.x before 1.15.7
QID Detection Logic(authenticated):
This QID checks for vulnerable version of Go installed on the target.
Note: For unix target, this QID will only work if Go path is properly set in environment variable.
Successful exploitation of this vulnerability could lead to command Injection and remote code execution.
Solution
It is advised to install the latest Go version from Go download page.
Vendor References
CVEs related to QID 375393
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| go |
|