{"id":"GO-2022-0532","summary":"Empty Cmd.Path can trigger unintended binary in os/exec on Windows","details":"On Windows, executing Cmd.Run, Cmd.Start, Cmd.Output, or Cmd.CombinedOutput when Cmd.Path is unset will unintentionally trigger execution of any binaries in the working directory named either \"..com\" or \"..exe\".","aliases":["BIT-golang-2022-30580","CVE-2022-30580"],"modified":"2024-05-20T16:03:47Z","published":"2022-07-26T21:41:20Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0532","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://go.dev/cl/403759"},{"type":"FIX","url":"https://go.googlesource.com/go/+/960ffa98ce73ef2c2060c84c7ac28d37a83f345e"},{"type":"REPORT","url":"https://go.dev/issue/52574"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.11"},{"introduced":"1.18.0-0"},{"fixed":"1.18.3"}]}],"ecosystem_specific":{"imports":[{"path":"os/exec","goos":["windows"],"symbols":["Cmd.Start"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0532.json"}}],"schema_version":"1.7.3","credits":[{"name":"Chris Darroch (chrisd8088@github.com)"},{"name":"brian m. carlson (bk2204@github.com)"},{"name":"Mikhail Shcherbakov (https://twitter.com/yu5k3)"}]}