A flaw was found in golang. The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program that uses cgo. This can occur when running an untrusted module that contains directories with newline characters in their names. Modules that are retrieved using the go command, for example, via “go get”, are not affected. Modules retrieved using GOPATH-mode, for example, GO111MODULE=off may be affected.