CVE-2020-28366
N/A
N/A
Summary
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 a malicious unquoted symbol name in a linked object file.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Go toolchain | cmd/go | 0 < 1.14.12 | affected |
| Go toolchain | cmd/go | 1.15.0-0 < 1.15.5 | affected |
| Go toolchain | cmd/cgo | 0 < 1.14.12 | affected |
| Go toolchain | cmd/cgo | 1.15.0-0 < 1.15.5 | affected |
Weaknesses
- CWE-94: Improper Control of Generation of Code ('Code Injection')
ADP Enrichment
CVE Program Container
Additional References
- https://go.dev/cl/269658
- https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292
- https://go.dev/issue/42559
- https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM
- https://pkg.go.dev/vuln/GO-2022-0475
References
- https://go.dev/cl/269658
- https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292
- https://go.dev/issue/42559
- https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM
- https://pkg.go.dev/vuln/GO-2022-0475
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.