UNKNOWN Go
Arbitrary code execution in go command with cgo in cmd/go and cmd/cgo
GO-2022-0475 · BIT-golang-2020-28366 · CVE-2020-28366
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
The go command may execute arbitrary code at build time when cgo is in use. This may occur when running go get on a malicious package, or any other command that builds untrusted code.
This can be caused by malicious unquoted symbol name in a linked object file.
Ready to move
Start Securing
Free, no credit card | First findings in minutes