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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | golang-1.15 | 1.15.15-1~deb11u2 | — |
| Debian 10 | golang-1.11 | 1.11.6-1+deb10u6 | DLA-3395-1 |
| Debian 9 | golang-1.7 | 1.7.4-2+deb9u4 | DLA-2892-1 |
| Debian 9 | golang-1.8 | 1.8.1-1+deb9u4 | DLA-2891-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-1.17 | No fix yet | — |
| Ubuntu 18.04 LTS | golang-1.8 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | delve | 1.6.0-1.module+el8.5.0+10379+d6b83bd0 | RHSA-2021:5160 |
| RHEL 8 | golang +7 | 1.16.12-1.module+el8.5.0+13637+960c7771 | RHSA-2021:5160 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Serverless 1 | openshift-serverless-clients | 1.0.0-2.el8 | RHSA-2022:1056 |
| Red Hat Openshift Data Foundation 4 | mcg +1 | 5.10.0-72.el8 | RHSA-2022:1361 |
| Red Hat OpenShift 4 | butane +1 | 0.13.1-2.rhaos4.9.el8 | RHSA-2022:0557 |
| Red Hat OpenShift 4 | containernetworking-plugins | 0.9.1-2.rhaos4.10.el8 | RHSA-2022:0927 |
| Red Hat OpenShift 4 | coreos-installer +1 | 0.12.0-1.rhaos4.10.el8 | RHSA-2022:0055 |
| Red Hat OpenShift 4 | cri-o | 1.22.1-17.rhaos4.9.git3029b1d.el7 | RHSA-2022:0557, RHSA-2022:0055 |
| Red Hat OpenShift 4 | cri-tools | 1.22.0-2.el8 | RHSA-2022:0557 |
| Red Hat OpenShift 4 | ignition +1 | 2.12.0-3.rhaos4.9.el8 | RHSA-2022:0557 |
| Red Hat OpenShift 4 | jenkins | 2.319.2.1643288987-1.el8 | RHSA-2022:0055 |
| Red Hat OpenShift 4 | jenkins-2-plugins | 4.10.1643404185-1.el8 | RHSA-2022:0055 |
| Red Hat OpenShift 4 | openshift +1 | 4.9.0-202202111950.p0.gb93fd35.assembly.stream.el7 | RHSA-2022:0557, RHSA-2022:0055 |
| Red Hat OpenShift 4 | openshift-clients +1 | 4.9.0-202202140924.p0.g340e212.assembly.stream.el7 | RHSA-2022:0557, RHSA-2022:0055 |
| Red Hat OpenShift 4 | prometheus-promu +1 | 0.5.0-5.git642a960.el8 | RHSA-2022:0557 |
| Red Hat OpenShift 4 | runc | 3:1.1.0-2.rhaos4.10.el8 | RHSA-2022:0927 |
| Red Hat Devtools 2021 | go-toolset-1.16 +10 | 1.16.12-1.el7_9 | RHSA-2021:5176 |
| Red Hat Container Native Virtualization 4 | kubevirt +2 | 4.12.0-1057.el7 | RHSA-2023:0407 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | delve | 1.6.0-1.module_el8.5.0+2604+960c7771 | ALSA-2021:5160 |
| AlmaLinux 8 | golang +7 | 1.16.12-1.module_el8.5.0+2604+960c7771 | ALSA-2021:5160 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | delve | 1.6.0-1.module+el8.5.0+694+f77f0bfd | RLSA-2021:5160 |
| Rocky Linux 8 | golang +1 | 1.16.12-1.module+el8.5.0+720+c057d5cf | RLSA-2021:5160 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | go1.16 | 1.16.12-1.37.2 | SUSE-SU-2021:4169-1 |
| SLES 15 SP3 | go1.17 | 1.17.5-1.14.2 | SUSE-SU-2021:4186-1 |
| SLES 15 SP2 | go1.16 | 1.16.12-1.37.2 | SUSE-SU-2021:4169-1 |
| SLES 15 SP2 | go1.17 | 1.17.5-1.14.2 | SUSE-SU-2021:4186-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP2 | go1.16 | 1.16.12-1.37.2 | SUSE-SU-2021:4169-1 |
| SLES for SAP 15 SP2 | go1.17 | 1.17.5-1.14.2 | SUSE-SU-2021:4186-1 |
| SLE HPC 15 SP2 | go1.16 | 1.16.12-1.37.2 | SUSE-SU-2021:4169-1 |
| SLE HPC 15 SP2 | go1.17 | 1.17.5-1.14.2 | SUSE-SU-2021:4186-1 |
| SUSE Manager Server 4.1 | go1.16 | 1.16.12-1.37.2 | SUSE-SU-2021:4169-1 |
| SUSE Manager Server 4.1 | go1.17 | 1.17.5-1.14.2 | SUSE-SU-2021:4186-1 |
| SUSE Manager Retail Branch Server 4.1 | go1.16 | 1.16.12-1.37.2 | SUSE-SU-2021:4169-1 |
| SUSE Manager Retail Branch Server 4.1 | go1.17 | 1.17.5-1.14.2 | SUSE-SU-2021:4186-1 |
| SUSE Manager Proxy 4.1 | go1.16 | 1.16.12-1.37.2 | SUSE-SU-2021:4169-1 |
| SUSE Manager Proxy 4.1 | go1.17 | 1.17.5-1.14.2 | SUSE-SU-2021:4186-1 |
| SUSE Enterprise Storage 7 | go1.16 | 1.16.12-1.37.2 | SUSE-SU-2021:4169-1 |
| SUSE Enterprise Storage 7 | go1.17 | 1.17.5-1.14.2 | SUSE-SU-2021:4186-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | apptainer | 1.0.1-1.1 | openSUSE-SU-2024:11947-1 |
| openSUSE Tumbleweed | go1.16 | 1.16.12-1.1 | openSUSE-SU-2024:11671-1 |
| openSUSE Tumbleweed | go1.17 | 1.17.5-1.1 | openSUSE-SU-2024:11672-1 |
| openSUSE Leap 15.4 | apptainer | 1.1.2-lp154.2.1 | openSUSE-SU-2023:0018-1 |
| openSUSE Leap 15.3 | go1.16 | 1.16.12-1.37.2 | openSUSE-SU-2021:4169-1 |
| openSUSE Leap 15.3 | go1.17 | 1.17.5-1.14.2 | openSUSE-SU-2021:4186-1 |
| openSUSE Leap 15.2 | go1.16 | 1.16.12-lp152.20.1 | openSUSE-SU-2021:1626-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | go | 1.17.6-r0 | — |
| Alpine v3.23 | go | 1.17.6-r0 | — |
| Alpine v3.22 | go | 1.17.6-r0 | — |
| Alpine v3.21 | go | 1.17.6-r0 | — |
| Alpine v3.20 | go | 1.17.6-r0 | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | go | 1.17.6-r0 | — |
| Alpine v3.18 | go | 1.17.6-r0 | — |
| Alpine v3.18 | nomad | 1.2.6-r0 | — |
| Alpine v3.17 | go | 1.17.6-r0 | — |
| Alpine v3.17 | nomad | 1.2.6-r0 | — |
| Alpine v3.16 | go | 1.17.6-r0 | — |
| Alpine v3.16 | nomad | 1.2.6-r0 | — |
| Alpine v3.15 | go | 1.17.9-r0 | — |
| Alpine v3.15 | nomad | 1.1.12-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | golang +7 | 1.19.3-2.amzn2023.0.2 | ALAS2023-2023-048 |
| Amazon Linux 2 | golang +7 | 1.16.15-1.amzn2.0.1 | ALAS2-2022-1776 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | delve | 1.6.0-1.0.1.module+el8.5.0+20332+2a8a7cc5 | ELSA-2021-5160 |
| Oracle Linux 8 | golang +7 | 1.16.12-1.module+el8.5.0+20456+eee863d9 | ELSA-2021-5160 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | stdlib | < 1.16.12 · >= 1.17.0-0, < 1.17.5 | 1.16.12, 1.17.5 | GO-2022-0289 |
Advisories 32
- ALSA-2021:5160 Important: go-toolset:rhel8 security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2023:0407 Red Hat Security Advisory: OpenShift Virtualization 4.12.0 RPMs security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2022:1361 Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.10.0 RPM security,enhancement&bugfix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2022:0055 Red Hat Security Advisory: OpenShift Container Platform 4.10.3 bug fix and security update Red Hat Security Advisories (RHSA) · Aug 20, 2026
- RHSA-2021:5176 Red Hat Security Advisory: go-toolset-1.16 and go-toolset-1.16-golang security and bug fix update Red Hat Security Advisories (RHSA) · Aug 20, 2026
- RHSA-2022:0927 Red Hat Security Advisory: OpenShift Container Platform 4.10.5 packages and security update Red Hat Security Advisories (RHSA) · Aug 15, 2026
- RHSA-2022:1056 Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.21.0 Red Hat Security Advisories (RHSA) · Aug 15, 2026
- RHSA-2022:0557 Red Hat Security Advisory: OpenShift Container Platform 4.9.22 security update Red Hat Security Advisories (RHSA) · Aug 15, 2026
- RHSA-2021:5160 Red Hat Security Advisory: go-toolset:rhel8 security and bug fix update Red Hat Security Advisories (RHSA) · Aug 15, 2026
- DLA-2892-1 golang-1.7 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2891-1 golang-1.8 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3395-1 golang-1.11 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:5160 Important: go-toolset:rhel8 security and bug fix update Rocky Linux Security Advisories · Feb 5, 2026
- openSUSE-SU-2021:4186-1 Security update for go1.17 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:4186-1 Security update for go1.17 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1626-1 Security update for go1.16 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11672-1 go1.17-1.17.5-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11671-1 go1.16-1.16.12-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:4169-1 Security update for go1.16 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11947-1 apptainer-1.0.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2023:0018-1 Security update for apptainer SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:4169-1 Security update for go1.16 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- ALAS2023-2023-048 Important: golang security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 9, 2025
- ALAS2-2022-1776 Important: golang security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 7, 2025
- WID-SEC-2023-0426 IBM Spectrum Protect: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 6, 2025
- WID-SEC-2023-0204 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 28, 2024
- WID-SEC-2022-0967 Red Hat Enterprise Linux (go-toolset): Mehrere Schwachstellen BSI CERT-Bund (WID) · May 30, 2024
- WID-SEC-2023-1524 IBM Spectrum Protect Plus: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 20, 2023
- ICSA-23-047-04 Siemens Brownfield Connectivity Gateway CISA ICS & IT advisories · Feb 14, 2023
- SSA-744259 SSA-744259: Golang Vulnerabilities in Brownfield Connectivity - Gateway before V1.10.1 Siemens ProductCERT · Feb 14, 2023
- ELSA-2021-5160 Important: go-toolset:ol8 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Dec 16, 2021
References
- https://groups.google.com/g/golang-announce/c/hcmEScgc00k
- [debian-lts-announce] 20220121 [SECURITY] [DLA 2891-1] golang-1.8 security update mailing-list
- [debian-lts-announce] 20220121 [SECURITY] [DLA 2892-1] golang-1.7 security update mailing-list
- GLSA-202208-02 vendor-advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-744259.pdf
- [debian-lts-announce] 20230419 [SECURITY] [DLA 3395-1] golang-1.11 security update mailing-list