Arbitrary code execution via the go command with cgo in cmd/go
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2020-28367US | high7.5 | — | ||
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. | ||||
02
references
External citations — patches, advisories, analysis.
- https://go.dev/cl/267277WEB
- https://go.dev/issue/42556WEB
- https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561WEB
- https://groups.google.com/g/golang-announce/c/NpBGTTmKzpMWEB
- https://lists.debian.org/debian-lts-announce/2023/04/msg00021.htmlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-28367WEB
- https://pkg.go.dev/vuln/GO-2022-0476WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan