blob: ee183801068aed13982753649e42f9cc58d05638 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0532",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-07-26T21:41:20Z",
"aliases": [
"CVE-2022-30580"
],
"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\".",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"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"
]
}
]
}
}
],
"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"
}
],
"credits": [
{
"name": "Chris Darroch (chrisd8088@github.com)"
},
{
"name": "brian m. carlson (bk2204@github.com)"
},
{
"name": "Mikhail Shcherbakov (https://twitter.com/yu5k3)"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0532"
}
}