CVE-2021-44717
MEDIUM 4.8CVSS 3.1Misdirected I/O in syscall
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.
- Published
- 1 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-404
- Also known as
- BIT-golang-2021-44717GO-2022-0289
- Sources
- NVDJSONOSV GO-2022-0289JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.16.12 | 1.16.12 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.17.0, < 1.17.5 | 1.17.5 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | Go | stdlib | < 1.16.12; >= 1.17.0-0, < 1.17.5 | 1.16.12, 1.17.5 |
References
- https://cert-portal.siemens.com/productcert/pdf/ssa-744259.pdf
- https://groups.google.com/g/golang-announce/c/hcmEScgc00k · Patch, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/01/msg00016.html · Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/01/msg00017.html · Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- https://security.gentoo.org/glsa/202208-02 · Third Party Advisory
- https://go.dev/cl/370576 · FIX
- https://go.googlesource.com/go/+/a76511f3a40ea69ee4f5cd86e735e1c8a84f0aa2 · FIX
- https://go.dev/issue/50057 · REPORT
- https://go.dev/cl/370577 · FIX
- https://go.dev/cl/370795 · FIX
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 1 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 May 2022)