cve.bz

CVE-2021-44717 Improper Resource Shutdown or Release

4.8 mediumEPSS 2.0%Fix available

Medium (4.8). EPSS 2.0% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.16.12, 1.17.5.

On this page
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.

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
2.0% (unchanged from 2.0% a week ago; 1.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-404 Improper Resource Shutdown or Release
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-44717 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-44717?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-44717?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-44717 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
golang:gobefore 1.16.12
golang:gofrom 1.17.0 before 1.17.5
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2022-0289Gostdlib<1.16.12
>=1.17.0-0 <1.17.5
1.16.12, 1.17.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9golang-1.71.7.4-2+deb9u4DLA-2892-1
Debian9golang-1.81.8.1-1+deb9u4DLA-2891-1
Debian10golang-1.111.11.6-1+deb10u6DLA-3395-1
Debian11golang-1.151.15.15-1~deb11u2DEBIAN-CVE-2021-44717
Ubuntu18.04:LTSgolang-1.8no fix listedUBUNTU-CVE-2021-44717
Ubuntu22.04:LTSgolang-1.17no fix listedUBUNTU-CVE-2021-44717
Red Hatcontainer_native_virtualization:4.12::el7kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:4.12.0-1057.el7RHSA-2023:0407
Red Hatcontainer_native_virtualization:4.12::el8kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:4.12.0-1057.el8RHSA-2023:0407
Red Hatdevtools:2021go-toolset-1.16, go-toolset-1.16-build, go-toolset-1.16-golang and 8 more0:1.16.12-1.el7_9RHSA-2021:5176
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.6.0-1.module+el8.5.0+10379+d6b83bd0RHSA-2021:5160
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.16.12-1.module+el8.5.0+13637+960c7771RHSA-2021:5160
Red Hatopenshift:4.9::el7cri-o, cri-o-debuginfo0:1.22.1-17.rhaos4.9.git3029b1d.el7RHSA-2022:0557
Red Hatopenshift:4.9::el7openshift, openshift-hyperkube0:4.9.0-202202111950.p0.gb93fd35.assembly.stream.el7RHSA-2022:0557
Red Hatopenshift:4.9::el7openshift-clients, openshift-clients-redistributable0:4.9.0-202202140924.p0.g340e212.assembly.stream.el7RHSA-2022:0557
Red Hatopenshift:4.9::el8butane, butane-debuginfo, butane-debugsource and 1 more0:0.13.1-2.rhaos4.9.el8RHSA-2022:0557
Red Hatopenshift:4.9::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.22.1-17.rhaos4.9.git3029b1d.2.el8RHSA-2022:0557
Red Hatopenshift:4.9::el8cri-tools, cri-tools-debuginfo, cri-tools-debugsource0:1.22.0-2.el8RHSA-2022:0557
Red Hatopenshift:4.9::el8ignition, ignition-validate, ignition-debuginfo and 2 more0:2.12.0-3.rhaos4.9.el8RHSA-2022:0557
16 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morego1.161.16.12-1.37.2SUSE-SU-2021:4169-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morego1.171.17.5-1.14.2SUSE-SU-2021:4186-1
openSUSELeap 15.2go1.161.16.12-lp152.20.1openSUSE-SU-2021:1626-1
openSUSELeap 15.3go1.161.16.12-1.37.2openSUSE-SU-2021:4169-1
openSUSELeap 15.3go1.171.17.5-1.14.2openSUSE-SU-2021:4186-1
openSUSELeap 15.4apptainer1.1.2-lp154.2.1openSUSE-SU-2023:0018-1
openSUSETumbleweedapptainer1.0.1-1.1openSUSE-SU-2024:11947-1
openSUSETumbleweedgo1.161.16.12-1.1openSUSE-SU-2024:11671-1
openSUSETumbleweedgo1.171.17.5-1.1openSUSE-SU-2024:11672-1
AlmaLinux8delve1.6.0-1.module_el8.5.0+2604+960c7771ALSA-2021:5160
AlmaLinux8golang, go-toolset, golang-bin and 5 more1.16.12-1.module_el8.5.0+2604+960c7771ALSA-2021:5160
Rocky Linux8delve0:1.6.0-1.module+el8.5.0+694+f77f0bfdRLSA-2021:5160
Rocky Linux8golang, go-toolset0:1.16.12-1.module+el8.5.0+720+c057d5cfRLSA-2021:5160
Alpinev3.15go1.17.9-r0ALPINE-CVE-2021-44717
Alpinev3.15nomad1.1.12-r0ALPINE-CVE-2021-44717
Alpinev3.16, v3.17, v3.18nomad1.2.6-r0ALPINE-CVE-2021-44717
Alpinev3.16, v3.17, v3.18 and 6 morego1.17.6-r0ALPINE-CVE-2021-44717

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

* This flaw has had the severity level set to Moderate due to the attack complexity required to exhaust file descriptors at the time ForkExec is called, plus an attacker does not necessarily have direct control over where/how data is leaked.

* For Service Telemetry Framework, because the flaw's impact is lower, no update will be provided at this time for its containers.

* runc shipped with Red Hat Enterprise Linux 8 and 9 are not affected by this flaw because the flaw is already patched in the shipped versions.

Red Hat's mitigation

This bug can be mitigated by raising the per-process file descriptor limit.

ProductPackageStateAdvisory
Openshift Serveless 1.21openshift-serverless-1/client-kn-rhel8:1.0.0-2Fixed 2022-03-24RHSA-2022:1051
Openshift Serveless 1.21openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:1.0.0-4Fixed 2022-03-24RHSA-2022:1051
Openshift Serveless 1.21openshift-serverless-1/eventing-controller-rhel8:1.0.0-4Fixed 2022-03-24RHSA-2022:1051
Openshift Serveless 1.21openshift-serverless-1/eventing-in-memory-channel-controller-rhel8:1.0.0-4Fixed 2022-03-24RHSA-2022:1051
Openshift Serveless 1.21openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8:1.0.0-4Fixed 2022-03-24RHSA-2022:1051
Openshift Serveless 1.21openshift-serverless-1/eventing-mtbroker-filter-rhel8:1.0.0-4Fixed 2022-03-24RHSA-2022:1051
Openshift Serveless 1.21openshift-serverless-1/eventing-mtbroker-ingress-rhel8:1.0.0-4Fixed 2022-03-24RHSA-2022:1051
Openshift Serveless 1.21openshift-serverless-1/eventing-mtchannel-broker-rhel8:1.0.0-4Fixed 2022-03-24RHSA-2022:1051
Openshift Serveless 1.21openshift-serverless-1/eventing-mtping-rhel8:1.0.0-4Fixed 2022-03-24RHSA-2022:1051
Openshift Serveless 1.21openshift-serverless-1/eventing-storage-version-migration-rhel8:1.0.0-4Fixed 2022-03-24RHSA-2022:1051
Migration Toolkit for ContainerscpmaWill not fix
OpenShift Serverlessknative-eventingAffected
OpenShift Service Mesh 2.0servicemeshAffected
OpenShift Service Mesh 2.0servicemesh-grafanaAffected
OpenShift Service Mesh 2.1servicemeshAffected
OpenShift Service Mesh 2.1servicemesh-grafanaAffected
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-main-rhel8Not affected
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-scanner-rhel8Not affected
Red Hat Ceph Storage 2golangOut of support scope
Red Hat Ceph Storage 2grafanaOut of support scope
334 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-44717.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-047-04Siemens Brownfield Connectivity Gateway2023-02-14MultipleBrownfield Connectivity - Gatewaynone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-125 Flooding Likelihood: High · Severity: Medium
  • CAPEC-130 Excessive Allocation Likelihood: Medium · Severity: Medium
  • CAPEC-131 Resource Leak Exposure Likelihood: Medium · Severity: Medium
  • CAPEC-494 TCP Fragmentation
  • CAPEC-495 UDP Fragmentation
  • CAPEC-496 ICMP Fragmentation
  • CAPEC-666 BlueSmacking Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON