blob: 43df5508d02489f5053d44091e105bc2dafeb797 [file] [log] [blame]
do_not_export: true
packages:
- module: std
package: cmd/go
versions:
- fixed: 1.14.14
- introduced: 1.15.0
fixed: 1.15.7
description: |
The go command may execute arbitrary code at build time when using cgo on Windows.
This can be triggered by running go get on a malicious module, or any other time
the code is built.
published: 2021-04-14T20:04:52Z
cves:
- CVE-2021-3115
credit: RyotaK
os:
- windows
links:
pr: https://go.dev/cl/284783
commit: https://go.googlesource.com/go/+/953d1feca9b21af075ad5fc8a3dad096d3ccc3a0
context:
- https://go.dev/issue/43783
- https://groups.google.com/g/golang-announce/c/mperVMGa98w/m/yo5W5wnvAAAJ
- https://go.dev/cl/284780
- https://go.googlesource.com/go/+/46e2e2e9d99925bbf724b12693c6d3e27a95d6a0