Skip to content
Fencer Vulns
medium 4.8

CVE-2021-44717 json

Misdirected I/O in syscall

published 2022-01-01 4 y ago modified 2026-10-16 24 d ago also BIT-golang-2021-44717 , EUVD-2021-31532 , GO-2022-0289

cvss
4.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

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.

Patch / fix

  • bitnami golang 1.16.12, 1.17.5
  • go stdlib 1.16.12, 1.17.5
  • golang go 1.16.12, 1.17.5
  • golang-1.15 Debian 11 1.15.15-1~deb11u2

debian advisories DEBIAN-CVE-2021-44717

  • delve RHEL 8 1.6.0-1.module+el8.5.0+10379+d6b83bd0
  • golang RHEL 8 1.16.12-1.module+el8.5.0+13637+960c7771
  • go-toolset RHEL 8 1.16.12-1.module+el8.5.0+13637+960c7771
  • golang-bin RHEL 8 1.16.12-1.module+el8.5.0+13637+960c7771
  • golang-src RHEL 8 1.16.12-1.module+el8.5.0+13637+960c7771
  • golang-misc RHEL 8 1.16.12-1.module+el8.5.0+13637+960c7771
  • golang-race RHEL 8 1.16.12-1.module+el8.5.0+13637+960c7771
  • golang-tests RHEL 8 1.16.12-1.module+el8.5.0+13637+960c7771

red hat advisories RHSA-2021:5160RHSA-2023:0407RHSA-2022:1361RHSA-2022:1056RHSA-2022:0927RHSA-2022:0557

  • go1.17 SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +8 more 1.17.5-1.14.2
  • go1.16 SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +8 more 1.16.12-1.37.2

suse advisories SUSE-SU-2021:4186-1SUSE-SU-2021:4169-1

  • go1.16 openSUSE Tumbleweed 1.16.12-1.1
  • go1.17 openSUSE Tumbleweed 1.17.5-1.1
  • apptainer openSUSE Tumbleweed 1.0.1-1.1
  • apptainer openSUSE Leap 15.4 1.1.2-lp154.2.1
  • go1.16 openSUSE Leap 15.2 1.16.12-lp152.20.1
  • go1.17 openSUSE Leap 15.3 1.17.5-1.14.2
  • go1.16 openSUSE Leap 15.3 1.16.12-1.37.2

opensuse advisories openSUSE-SU-2024:11671-1openSUSE-SU-2024:11672-1openSUSE-SU-2024:11947-1openSUSE-SU-2023:0018-1openSUSE-SU-2021:1626-1openSUSE-SU-2021:4186-1

  • delve AlmaLinux 8 1.6.0-1.module_el8.5.0+2604+960c7771
  • golang AlmaLinux 8 1.16.12-1.module_el8.5.0+2604+960c7771
  • go-toolset AlmaLinux 8 1.16.12-1.module_el8.5.0+2604+960c7771
  • golang-bin AlmaLinux 8 1.16.12-1.module_el8.5.0+2604+960c7771
  • golang-src AlmaLinux 8 1.16.12-1.module_el8.5.0+2604+960c7771
  • golang-misc AlmaLinux 8 1.16.12-1.module_el8.5.0+2604+960c7771
  • golang-race AlmaLinux 8 1.16.12-1.module_el8.5.0+2604+960c7771
  • golang-tests AlmaLinux 8 1.16.12-1.module_el8.5.0+2604+960c7771

almalinux advisories ALSA-2021:5160

  • delve Rocky Linux 8 1.6.0-1.module+el8.5.0+694+f77f0bfd
  • golang Rocky Linux 8 1.16.12-1.module+el8.5.0+720+c057d5cf
  • go-toolset Rocky Linux 8 1.16.12-1.module+el8.5.0+720+c057d5cf

rocky linux advisories RLSA-2021:5160

  • go Alpine 3.15 1.17.9-r0
  • go Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.17.6-r0
  • nomad Alpine 3.15 1.1.12-r0
  • nomad Alpine 3.18, Alpine 3.17, Alpine 3.16 1.2.6-r0

alpine advisories ALPINE-CVE-2021-44717

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • go Arch Linux 2:1.17.5-1

arch linux advisories AVG-2617

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-44717 updated cvss 4.8

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

  • Red Hat Migration Toolkit for Containers cpma
    affected: workaround, no fix planned “This bug can be mitigated by raising the per-process file descriptor limit.”
  • Red Hat OpenShift Serverless openshift-serverless-1/kn-eventing-apiserver-receive-adapter-rhel9 Red Hat OpenShift Service Mesh 2.0 servicemesh, servicemesh-mixc, servicemesh-mixs, servicemesh-grafana, servicemesh-istioctl, servicemesh-pilot-agent, +2 more Red Hat OpenShift Service Mesh 2.1 servicemesh, servicemesh-cni, servicemesh-grafana, servicemesh-pilot-agent, servicemesh-pilot-discovery
    affected: workaround, no fix available “This bug can be mitigated by raising the per-process file descriptor limit.”
  • Red Hat Ceph Storage 2 golang, grafana, golang-bin, golang-src Red Hat Ceph Storage 3 golang, grafana, golang-bin, golang-src, grafana-container, prometheus-node-exporter Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8 Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8 Red Hat Enterprise Linux 7 runc, golang, golang-bin, golang-src, golang-misc, golang-tests Red Hat OpenShift Container Platform 3.11 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +7 more
    affected: workaround, no fix planned “This bug can be mitigated by raising the per-process file descriptor limit.”
  • Red Hat OpenShift Container Platform 4 faq, conmon, podman, skopeo, buildah, podman-tests, +13 more
    affected: workaround, no fix available, no fix planned “This bug can be mitigated by raising the per-process file descriptor limit.”
  • Red Hat Openshift Data Foundation 4 noobaa-operator-container Red Hat OpenShift distributed tracing 2 rhosdt/opentelemetry-rhel8-operator Red Hat OpenShift on AWS rosa
    affected: workaround, no fix available “This bug can be mitigated by raising the per-process file descriptor limit.”
  • Red Hat OpenShift Virtualization 2 kubevirt, virt-api-container, kubemacpool-container, virt-handler-container, bridge-marker-container, virt-launcher-container, +26 more Red Hat OpenShift Virtualization 4 cnvnetworking-plugins-rhel9, container-native-virtualization/kubemacpool, container-native-virtualization/bridge-marker, container-native-virtualization/ovs-cni-marker, container-native-virtualization/ovs-cni-plugin, container-native-virtualization/kubevirt-vmware, +13 more
    affected: workaround, no fix available, no fix planned “This bug can be mitigated by raising the per-process file descriptor limit.”
  • Red Hat OpenStack Platform 13 (Queens) qpid-proton, qpid-proton-c, qpid-proton-cpp, qpid-proton-tests, python-qpid-proton Red Hat OpenStack Platform 16.1 etcd, golang-qpid-apache Red Hat OpenStack Platform 16.2 etcd, qpid-proton-c, golang-qpid-apache, python3-qpid-proton
    affected: workaround, no fix planned “This bug can be mitigated by raising the per-process file descriptor limit.”
  • Red Hat Quay 3 quay/quay-rhel8, quay/clair-rhel8, quay/quay-builder-rhel8, quay/quay-operator-rhel8, quay/quay-openshift-bridge-rhel8-operator, quay/quay-container-security-operator-rhel8
    affected: workaround, no fix available “This bug can be mitigated by raising the per-process file descriptor limit.”
show 12 more
  • Red Hat Storage 3 etcd, golang, heketi, grafana, golang-bin, golang-src, +5 more Red Hat Service Telemetry Framework 1.2 for RHEL 8 stf/sg-core-rhel8, smart-gateway-container Red Hat Service Telemetry Framework 1.3 for RHEL 8 stf/sg-core-rhel8
    affected: workaround, no fix planned “This bug can be mitigated by raising the per-process file descriptor limit.”
  • Red Hat CNV 4.9 for RHEL 8 container-native-virtualization/virt-cdi-cloner v4.9.4-7, container-native-virtualization/virt-cdi-importer v4.9.4-7, container-native-virtualization/virt-cdi-operator v4.9.4-7, container-native-virtualization/virt-cdi-apiserver v4.9.4-7, container-native-virtualization/virt-cdi-controller v4.9.4-7, container-native-virtualization/virt-cdi-uploadproxy v4.9.4-7
    fixed: vendor fix “This bug can be mitigated by raising the per-process file descriptor limit.” RHEA-2022:1596
  • Red Hat CNV 4.12 for RHEL 7 kubevirt 4.12.0-1057.el7, kubevirt-virtctl 4.12.0-1057.el7, kubevirt-virtctl-redistributable 4.12.0-1057.el7 Red Hat CNV 4.12 for RHEL 8 kubevirt 4.12.0-1057.el8, kubevirt-virtctl 4.12.0-1057.el8, kubevirt-virtctl-redistributable 4.12.0-1057.el8, container-native-virtualization/virt-api v4.12.0-255, container-native-virtualization/virt-handler v4.12.0-255, container-native-virtualization/virt-launcher v4.12.0-255, +3 more
    fixed: vendor fix “This bug can be mitigated by raising the per-process file descriptor limit.” RHSA-2023:0407
  • Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7) go-toolset-1.16 1.16.12-1.el7_9, go-toolset-1.16-build 1.16.12-1.el7_9, go-toolset-1.16-golang 1.16.12-1.el7_9, go-toolset-1.16-runtime 1.16.12-1.el7_9, go-toolset-1.16-scldevel 1.16.12-1.el7_9, go-toolset-1.16-golang-bin 1.16.12-1.el7_9, +4 more
    fixed: vendor fix “This bug can be mitigated by raising the per-process file descriptor limit.” RHSA-2021:5176
  • Red Hat Enterprise Linux AppStream (v. 8) delve 1.6.0-1.module+el8.5.0+10379+d6b83bd0, golang 1.16.12-1.module+el8.5.0+13637+960c7771, go-toolset 1.16.12-1.module+el8.5.0+13637+960c7771, golang-bin 1.16.12-1.module+el8.5.0+13637+960c7771, golang-src 1.16.12-1.module+el8.5.0+13637+960c7771, golang-misc 1.16.12-1.module+el8.5.0+13637+960c7771, +2 more
    fixed: vendor fix “This bug can be mitigated by raising the per-process file descriptor limit.” RHSA-2021:5160
  • Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-velero-rhel8 v1.7.1-3
    fixed: vendor fix “This bug can be mitigated by raising the per-process file descriptor limit.” RHSA-2022:1734
  • Red Hat OpenShift Container Platform 4.9 cri-tools 1.22.0-2.el8, butane 0.13.1-2.rhaos4.9.el8, ignition 2.12.0-3.rhaos4.9.el8, ignition-validate 2.12.0-3.rhaos4.9.el8, butane-redistributable 0.13.1-2.rhaos4.9.el8
    fixed: vendor fix “This bug can be mitigated by raising the per-process file descriptor limit.” RHSA-2022:0557
  • Red Hat OpenShift Container Platform 4.10 runc 1.1.0-2.rhaos4.10.el8, cri-o 1.23.1-9.rhaos4.10.gitbdffb9a.el8, cri-o 1.23.0-92.rhaos4.10.gitdaab4d1.el7, containernetworking-plugins 0.9.1-2.rhaos4.10.el8, openshift 4.10.0-202202250816.p0.ge419edf.assembly.stream.el7, openshift 4.10.0-202202250816.p0.ge419edf.assembly.stream.el8, +159 more
    fixed: vendor fix “This bug can be mitigated by raising the per-process file descriptor limit.” RHSA-2022:0055
  • Red Hat OpenShift Serverless 1.0 openshift-serverless-clients 1.0.0-2.el8
    fixed: vendor fix “This bug can be mitigated by raising the per-process file descriptor limit.” RHSA-2022:1056
  • Red Hat OpenShift Serverless 1.21 openshift-serverless-1/client-kn-rhel8 1.0.0-2, openshift-serverless-1/serving-queue-rhel8 1.0.1-2, openshift-serverless-1/eventing-mtping-rhel8 1.0.0-4, openshift-serverless-1/kourier-control-rhel8 1.0.0-2, openshift-serverless-1/serving-webhook-rhel8 1.0.1-2, openshift-serverless-1/eventing-webhook-rhel8 1.0.0-4, +28 more
    fixed: vendor fix “This bug can be mitigated by raising the per-process file descriptor limit.” RHSA-2022:1051
  • Red Hat RHODF 4.10 for RHEL 8 mcg 5.10.0-72.el8, odf4/cephcsi-rhel8 v4.10.0-35, odf4/mcg-core-rhel8 v4.10.0-12, mcg-redistributable 5.10.0-72.el8, odf4/odf-console-rhel8 v4.10.0-27, odf4/odf-topolvm-rhel8 v4.10.0-16, +20 more
    fixed: vendor fix “This bug can be mitigated by raising the per-process file descriptor limit.” RHSA-2022:1361
  • Red Hat CNV 4.9 for RHEL 8 container-native-virtualization/virt-api v4.9.4-7, container-native-virtualization/virtio-win v4.9.4-5, container-native-virtualization/kubemacpool v4.9.4-5, container-native-virtualization/virt-handler v4.9.4-7, container-native-virtualization/bridge-marker v4.9.4-5, container-native-virtualization/virt-launcher v4.9.4-7, +24 more Red Hat CNV 4.12 for RHEL 8 container-native-virtualization/virtio-win v4.12.0-10, container-native-virtualization/kubemacpool v4.12.0-24, container-native-virtualization/bridge-marker v4.12.0-24, container-native-virtualization/ovs-cni-marker v4.12.0-24, container-native-virtualization/ovs-cni-plugin v4.12.0-24, container-native-virtualization/virt-cdi-cloner v4.12.0-72, +31 more Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-scanner-rhel8 Red Hat Enterprise Linux 8 runc Red Hat Enterprise Linux 9 runc, golang, go-toolset, golang-bin, golang-src, golang-misc, +2 more Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-ui-rhel8 v1.7.1-6, rhmtc/openshift-velero-plugin-rhel8 v1.7.1-4, rhmtc/openshift-migration-openvpn-rhel8 v1.7.1-4, rhmtc/openshift-migration-registry-rhel8 v1.7.1-4, rhmtc/openshift-migration-rhel8-operator v1.7.1-11, rhmtc/openshift-migration-controller-rhel8 v1.7.1-7, +9 more
    not affected: vulnerable code not present

4 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-047-04 updated cvss 4.8

Siemens Brownfield Connectivity Gateway

  • Siemens Brownfield Connectivity - Gateway <V1.10
    affected: fixed in V1.11

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

Exploit prediction

2.00% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD 2.0 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N
OSV 3.1 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
bitnami golang
<1.16.12
>=1.17.0, <1.17.5
1.16.12
1.17.5
go stdlib
<1.16.12
>=1.17.0-0, <1.17.5
1.16.12
1.17.5

Classification

Weakness
  • CWE-404 Improper Resource Shutdown or Release

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.