blob: 974bc1a409db545861dd0e6f14773a0d8a691ea3 [file] [log] [blame]
{
"id": "GO-2022-0289",
"published": "2022-05-18T18:23:23Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2021-44717"
],
"details": "When a Go program running on a Unix system is out of file descriptors and\ncalls syscall.ForkExec (including indirectly by using the os/exec package),\nsyscall.ForkExec can close file descriptor 0 as it fails. If this happens\n(or can be provoked) repeatedly, it can result in misdirected I/O such as\nwriting network traffic intended for one connection to a different\nconnection, or content intended for one file to a different one.\n\nFor users who cannot immediately update to the new release, the bug can be\nmitigated by raising the per-process file descriptor limit.\n",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.16.12"
},
{
"introduced": "1.17.0"
},
{
"fixed": "1.17.5"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0289"
},
"ecosystem_specific": {
"imports": [
{
"path": "syscall",
"symbols": [
"ForkExec"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/370576"
},
{
"type": "FIX",
"url": "https://go.googlesource.com/go/+/a76511f3a40ea69ee4f5cd86e735e1c8a84f0aa2"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/50057"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/hcmEScgc00k"
},
{
"type": "FIX",
"url": "https://go.dev/cl/370577"
},
{
"type": "FIX",
"url": "https://go.dev/cl/370795"
}
]
}