{"id":"CVE-2021-44717","aliases":["CVE-2021-44717","GO-2022-0289","BIT-GOLANG-2021-44717"],"related":[],"kind":"vulnerability","state":"published","title":"Misdirected I/O in syscall","summary":"Go before 1.16.12 and 1.17.x before 1.17.5 on UNIX allows write operations to an unintended file or unintended network connection as a consequence of erroneous closing of file descriptor 0 after file-descriptor exhaustion.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Go before 1.16.12 and 1.17.x before 1.17.5 on UNIX allows write operations to an unintended file or unintended network connection as a consequence of erroneous closing of file descriptor 0 after file-descriptor exhaustion.","source":"cvelist"},{"lang":"en","text":"When a Go program running on a Unix system is out of file descriptors and calls syscall.ForkExec (including indirectly by using the os/exec package), syscall.ForkExec can close file descriptor 0 as it fails. If this happens (or can be provoked) repeatedly, it can result in misdirected I/O such as writing network traffic intended for one connection to a different connection, 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 mitigated by raising the per-process file descriptor limit.","format":"markdown","source":"go"},{"lang":"es","text":"Go versiones anteriores a 1.16.12 y versiones 1.17.x anteriores a 1.17.5 en UNIX, permite operaciones de escritura en un archivo no deseado o en una conexión de red no deseada como consecuencia de un cierre erróneo del descriptor de archivo 0 tras el agotamiento del descriptor de archivo.","source":"nvd"}],"published":"2022-01-01T00:00:00.000Z","modified":"2026-10-16T09:45:09.447Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-404"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.16.12"},{"type":"semver","introduced":"1.17.0-0","status":"affected","fixed":"1.17.5"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.16.12"},{"status":"affected","introduced":"1.17.0","fixed":"1.17.5"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.16.12"},{"type":"semver","introduced":"1.17.0","status":"affected","fixed":"1.17.5"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://groups.google.com/g/golang-announce/c/hcmEScgc00k","tags":["advisory","patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00016.html","tags":["advisory","mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00017.html","tags":["advisory","mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202208-02","tags":["advisory","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-744259.pdf","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://go.dev/cl/370576","tags":["fix"],"sources":["go"]},{"url":"https://go.googlesource.com/go/+/a76511f3a40ea69ee4f5cd86e735e1c8a84f0aa2","tags":["fix"],"sources":["go"]},{"url":"https://go.dev/issue/50057","tags":["report"],"sources":["go"]},{"url":"https://go.dev/cl/370577","tags":["fix"],"sources":["go"]},{"url":"https://go.dev/cl/370795","tags":["fix"],"sources":["go"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44717","tags":["web"],"sources":["bitnami"]}],"credits":["Tomasz Maczukin","Kamil Trzciński of GitLab"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-44717","url":"https://www.cve.org/CVERecord?id=CVE-2021-44717","licence":"CVE Terms of Use","modified":"2024-08-04T04:32:12.279Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0289","url":"https://pkg.go.dev/vuln/GO-2022-0289","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-44717","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44717","licence":"Public domain","modified":"2026-06-17T04:12:45.603Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2021-44717","url":"https://osv.dev/vulnerability/BIT-GOLANG-2021-44717","licence":"Apache-2.0","modified":"2026-10-16T09:45:09.447Z"}],"updatedAt":"2026-11-25T22:24:36.418Z","epss":{"score":0.02014,"percentile":0.8146,"date":"2026-12-01T12:00:22.000Z"}}