Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-44717

golang: syscall: don't close fd 0 on ForkExec error

Overview

Published
1 Jan 2022
Modified
17 Jun 2026
Medium CVE
2 Registry packages
98 OS packages
10 Linux distributions
Yes Fix available

Description

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: OX vulnerability database

Severity

4.8 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Weakness: CWE-404

Affected packages · 2

Packages affected by CVE-2021-44717
EcosystemPackageVulnerableFixed in
Bitnami golang <1.16.12>=1.17.0, <1.17.5 1.16.121.17.5
Go stdlib <1.16.12>=1.17.0-0, <1.17.5 1.16.121.17.5

Open a package to see all its vulnerabilities.

Operating systems · 51 fixes

Oracle Linux 1 release · 2 packages

fixed 2
go-toolset delve
Oracle Linux fixes for CVE-2021-44717
ReleasePackageFixed in
8 go-toolset +7 1.16.12-1.module+el8.5.0+20456+eee863d9
8 delve 1.6.0-1.0.1.module+el8.5.0+20332+2a8a7cc5

Photon OS 1 release · 2 packages

fixed 2
go kubernetes-dashboard
Photon OS fixes for CVE-2021-44717
ReleasePackageFixed in
4.0 go 1.17.2-2.ph4
4.0 kubernetes-dashboard 2.7.0-1.ph4

Red Hat 4 releases · 20 packages

eol 2 wont fix 2 fixed 24 affected 1
heketi golang atomic-openshift go-toolset-1-16 cri-o openshift-clients +14
Red Hat fixes for CVE-2021-44717
ReleasePackageFixed inAdvisory
heketi +2 eol —
golang +9 wont fix —
7 atomic-openshift +31 eol —
7 go-toolset-1-16 +10 0:1.16.12-1.el7_9 RHSA-2021:5176
7 cri-o 0:1.22.1-17.rhaos4.9.git3029b1d.el7 RHSA-2022:0557
7 cri-o 0:1.23.0-92.rhaos4.10.gitdaab4d1.el7 RHSA-2022:0055

23 more rows

alma 1 release · 2 packages

fixed 2
go-toolset delve
alma fixes for CVE-2021-44717
ReleasePackageFixed in
8 (go-toolset:rhel8) go-toolset +7 1.16.12-1.module_el8.5.0+2604+960c7771
8 (go-toolset:rhel8) delve 1.6.0-1.module_el8.5.0+2604+960c7771

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2021-44717
ReleasePackageFixed in
3.22 go 1.17.6-r0
3.23 go 1.17.6-r0
3.24 go 1.17.6-r0
edge go 1.17.6-r0

amazon linux 1 release · 1 package

fixed 1
golang
amazon linux fixes for CVE-2021-44717
ReleasePackageFixed in
2023 golang +7 1.19.3-2.amzn2023.0.2

debian 3 releases · 4 packages

fixed 4
golang-1-11 golang-1-15 golang-1-7 golang-1-8
debian fixes for CVE-2021-44717
ReleasePackageFixed in
10 golang-1-11 1.11.6-1+deb10u6
11 golang-1-15 1.15.15-1~deb11u2
9 golang-1-7 1.7.4-2+deb9u4
9 golang-1-8 1.8.1-1+deb9u4

openSUSE 1 release · 3 packages

fixed 3
apptainer go1-16 go1-17
openSUSE fixes for CVE-2021-44717
ReleasePackageFixed inAdvisory
Tumbleweed apptainer 1.0.1-1.1 openSUSE-SU-2024:11947-1
Tumbleweed go1-16 +2 1.16.12-1.1 openSUSE-SU-2024:11671-1
Tumbleweed go1-17 +2 1.17.5-1.1 openSUSE-SU-2024:11672-1

rocky 1 release · 2 packages

fixed 2
go-toolset delve
rocky fixes for CVE-2021-44717
ReleasePackageFixed in
8 (go-toolset:rhel8) go-toolset +7 1.16.12-1.module+el8.5.0+720+c057d5cf
8 (go-toolset:rhel8) delve 1.6.0-1.module+el8.5.0+694+f77f0bfd

ubuntu 2 releases · 2 packages

affected 2
golang-1-8 golang-1-17
ubuntu fixes for CVE-2021-44717
ReleasePackageFixed in
18.04-ESM golang-1-8 affected
22.04 golang-1-17 affected

References

Show all 27 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.