Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a #cgo directive.
References
Link | Resource |
---|---|
https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM | Mailing List Third Party Advisory |
https://pkg.go.dev/vuln/GO-2022-0476 | Vendor Advisory |
https://go.dev/issue/42556 | Issue Tracking Patch Third Party Advisory |
https://go.dev/cl/267277 | Product Release Notes |
https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561 | Product |
Configurations
Information
Published : 2020-11-18 09:15
Updated : 2023-03-03 06:36
NVD link : CVE-2020-28367
Mitre link : CVE-2020-28367
JSON object : View
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
Products Affected
golang
- go