Description
Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.
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 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-1.13 | 1.13.8-1ubuntu2.22.04.2 | USN-6038-2 |
| Ubuntu 22.04 LTS | golang-1.17 | No fix yet | — |
| Ubuntu 22.04 LTS | golang-1.18 | 1.18.1-1ubuntu1.1 | USN-6038-1 |
| Ubuntu 20.04 LTS | golang-1.13 | 1.13.8-1ubuntu1.2 | USN-6038-2 |
| Ubuntu 20.04 LTS | golang-1.14 | No fix yet | — |
| Ubuntu 20.04 LTS | golang-1.16 | 1.16.2-0ubuntu1~20.04.1 | USN-6038-2 |
| Ubuntu 20.04 LTS | golang-1.18 | 1.18.1-1ubuntu1~20.04.2 | USN-6038-1 |
| Ubuntu 18.04 LTS | golang-1.18 | 1.18.1-1ubuntu1~18.04.4 | USN-6038-1 |
| Ubuntu 18.04 LTS | golang-1.8 +2 | No fix yet | — |
| Ubuntu 16.04 LTS | golang-1.6 +1 | No fix yet | — |
| Ubuntu 14.04 LTS | golang-1.10 | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | golang-1.13 | 1.13.8-1ubuntu1~18.04.4+esm1 | USN-6038-2 |
| Ubuntu Pro 18.04 LTS | golang-1.16 | 1.16.2-0ubuntu1~18.04.2+esm1 | USN-6038-2 |
| Ubuntu Pro 16.04 LTS | golang-1.13 | 1.13.8-1ubuntu1~16.04.3+esm3 | USN-6038-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | golang +7 | 1.17.12-1.el9_0 | RHSA-2022:5799 |
| RHEL 8 | delve | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2022:5337 |
| RHEL 8 | golang +7 | 1.17.10-1.module+el8.6.0+15486+6d4da7db | RHSA-2022:5337 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Service Mesh 2 | servicemesh +7 | 2.1.5-1.el8 | RHSA-2022:6277 |
| Red Hat Service Mesh 2 | servicemesh-prometheus | 2.23.0-9.el8 | RHSA-2022:6277 |
| Red Hat OpenShift 4 | atomic-openshift-service-idler | 4.10.0-202207192015.p0.g39cfc66.assembly.stream.el8 | RHSA-2022:5729 |
| Red Hat OpenShift 4 | cri-o | 1.23.3-11.rhaos4.10.gitddf4b1a.1.el7 | RHSA-2022:5729 |
| Red Hat OpenShift 4 | cri-tools | 1.23.0-1.1.el7 | RHSA-2022:5729 |
| Red Hat OpenShift 4 | openshift +1 | 4.10.0-202207192015.p0.g012e945.assembly.stream.el7 | RHSA-2022:5729 |
| Red Hat OpenShift 4 | openshift-clients +1 | 4.10.0-202207192015.p0.g45460a5.assembly.stream.el7 | RHSA-2022:5729 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | golang +1 | 1.17.12-1.el9_0 | RLSA-2022:5799 |
| Rocky Linux 8 | delve | 1.7.2-1.module+el8.6.0+824+8e984c20 | RLSA-2022:5337 |
| Rocky Linux 8 | golang +1 | 1.17.10-1.module+el8.6.0+986+efe4cea4 | RLSA-2022:5337 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | go1.17 | 1.17.10-150000.1.34.1 | SUSE-SU-2022:1862-1 |
| SLES 15 SP4 | go1.18 | 1.18.2-150000.1.17.1 | SUSE-SU-2022:1829-1 |
| SLES 15 SP4 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SLES 15 SP3 | go1.17 | 1.17.10-150000.1.34.1 | SUSE-SU-2022:1862-1 |
| SLES 15 SP3 | go1.18 | 1.18.2-150000.1.17.1 | SUSE-SU-2022:1829-1 |
| SLES 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SLE Real Time 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SLE HPC 15 SP3 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| SUSE Enterprise Storage 7.1 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | go1.17 | 1.17.10-1.1 | openSUSE-SU-2024:12065-1 |
| openSUSE Tumbleweed | go1.18 | 1.18.2-1.1 | openSUSE-SU-2024:12066-1 |
| openSUSE Leap 15.5 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| openSUSE Leap 15.4 | go1.17 | 1.17.10-150000.1.34.1 | SUSE-SU-2022:1862-1 |
| openSUSE Leap 15.4 | go1.18 | 1.18.2-150000.1.17.1 | SUSE-SU-2022:1829-1 |
| openSUSE Leap 15.4 | go1.18-openssl | 1.18.10.1-150000.1.9.1 | SUSE-SU-2023:2312-1 |
| openSUSE Leap 15.3 | go1.17 | 1.17.10-150000.1.34.1 | SUSE-SU-2022:1862-1 |
| openSUSE Leap 15.3 | go1.18 | 1.18.2-150000.1.17.1 | SUSE-SU-2022:1829-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | docker | 20.10.16-r0 | — |
| Alpine v3.23 | docker | 20.10.16-r0 | — |
| Alpine v3.22 | docker | 20.10.16-r0 | — |
| Alpine v3.21 | docker | 20.10.16-r0 | — |
| Alpine v3.20 | docker | 20.10.16-r0 | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | docker | 20.10.16-r0 | — |
| Alpine v3.18 | docker | 20.10.16-r0 | — |
| Alpine v3.17 | docker | 20.10.16-r0 | — |
| Alpine v3.16 | docker | 20.10.16-r0 | — |
| Alpine v3.15 | docker | 20.10.16-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 2023 | golang-github-cpuguy83-md2man +2 | 2.0.2-22.amzn2023.0.2 | ALAS2023-2023-047 |
| Amazon Linux 2023 | golist | 0.10.1-11.amzn2023.0.3 | ALAS2023-2023-046 |
| Amazon Linux 2 | go-filesystem +3 | 3.0.15-23.amzn2.0.2 | ALAS2-2022-1863 |
| Amazon Linux 2 | golang +7 | 1.18.5-1.amzn2 | ALAS2-2022-1846 |
| Amazon Linux 2 | golang-github-godbus-dbus-devel | 0-0.1.gitcb98efb.amzn2.0.2 | ALAS2-2022-1858 |
| Amazon Linux 2 | golang-github-gorilla-context-devel | 0-0.24.gitb06ed15.amzn2.0.4 | ALAS2-2022-1859 |
| Amazon Linux 2 | golang-github-gorilla-mux-devel | 0-0.16.git136d54f.amzn2.0.2 | ALAS2-2022-1860 |
| Amazon Linux 2 | golang-github-kr-pty-devel | 0-0.19.git98c7b80.amzn2.0.3 | ALAS2-2022-1864 |
| Amazon Linux 2 | golang-github-syndtr-gocapability-devel | 0-0.5.git3454319.amzn2.0.3 | ALAS2-2022-1865 |
| Amazon Linux 2 | golang-googlecode-net-devel | 0-0.12.hg84a4013f96e0.amzn2.0.2 | ALAS2-2022-1861 |
| Amazon Linux 2 | golang-googlecode-sqlite-devel | 0-0.9.hg74691fb6f837.amzn2.0.4 | ALAS2-2022-1862 |
| Amazon Linux 2 | golist | 0.10.1-10.amzn2.0.1 | ALAS2-2022-1847 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | buildah | 1.41.4-2 | — |
| Azure Linux 3 | cni | 1.1.2-4 | — |
| Azure Linux 3 | containernetworking-plugins | 1.6.1-4 | — |
| Azure Linux 3 | delve +1 | No fix yet | — |
| Azure Linux 3 | golang | 1.22.7-2 | — |
| Azure Linux 3 | moby-engine | 25.0.3-1 | — |
| Azure Linux 3 | multus | 4.0.2-1 | — |
| Azure Linux 3 | node-problem-detector | 0.8.15-1 | — |
| Azure Linux 3 | podman | 5.6.1-2 | — |
| Azure Linux 3 | prometheus | 2.37.0-1 | — |
| Azure Linux 3 | sriov-network-device-plugin | 3.7.0-1 | — |
| Azure Linux 2 (CBL-Mariner) | cri-o | 1.21.7-2 | — |
| Azure Linux 2 (CBL-Mariner) | delve +4 | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | golang | 1.21.6-1 | — |
| Azure Linux 2 (CBL-Mariner) | kured | 1.13.2-1 | — |
| Azure Linux 2 (CBL-Mariner) | nmi | 1.8.11-2 | — |
| Azure Linux 2 (CBL-Mariner) | prometheus | 2.37.0-1 | — |
| Azure Linux 2 (CBL-Mariner) | sriov-network-device-plugin | 3.6.2-2 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | delve | 1.7.2-1.0.1.module+el8.6.0+20559+3b94dc2a | ELSA-2022-17956, ELSA-2022-14844, ELSA-2022-5337 |
| Oracle Linux 8 | go-toolset | 1.17.10-1.module+el8.6.0+20677+d06d1f12 | ELSA-2022-17956, ELSA-2022-14844, ELSA-2022-5337 |
| Oracle Linux 8 | golang +6 | 1.17.10-1.module+el8.6.0+20691+4e76a6d9 | ELSA-2022-17956, ELSA-2022-14844, ELSA-2022-5337 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ctop | 0.7.7-r13 | — |
| Wolfi rolling | dynamic-localpv-provisioner | 3.4.1-r3 | — |
| Wolfi rolling | grpcurl | 1.8.7-r7 | — |
| Wolfi rolling | k3d +2 | 5.6.0-r11 | — |
| Wolfi rolling | kind | 0.22.0-r1 | — |
| Wolfi rolling | kubeflow +12 | 1.10.0-r2 | — |
| Wolfi rolling | terraform-provider-sendgrid | 1.0.1-r1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | golang.org/x/sys | < 0.0.0-20220412211240-33da011f77ad | 0.0.0-20220412211240-33da011f77ad | GHSA-p782-xgp4-8hr8 |
| Go | stdlib | < 1.17.10 · >= 1.18.0-0, < 1.18.2 | 1.17.10, 1.18.2 | GO-2022-0493 |
Advisories 38
- RHSA-2022:5799 Red Hat Security Advisory: go-toolset and golang security and bug fix update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2022:5729 Red Hat Security Advisory: OpenShift Container Platform 4.10.25 security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- RHSA-2022:6277 Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.1.5 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:5337 Red Hat Security Advisory: go-toolset:rhel8 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2023-1350 Splunk Splunk Enterprise: Mehrere Schwachstellen in Komponenten von Drittanbietern BSI CERT-Bund (WID) · Jul 1, 2026
- WID-SEC-2022-0491 Red Hat Advanced Cluster Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 25, 2026
- USN-6038-2 golang-1.13, golang-1.16 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-6038-1 golang-1.18 vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- RLSA-2022:5337 Moderate: go-toolset:rhel8 security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2022:5799 Important: go-toolset and golang security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2022:1829-1 Security update for go1.18 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1862-1 Security update for go1.17 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2312-1 Security update for go1.18-openssl SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12065-1 go1.17-1.17.10-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2023-1424 Xerox FreeFlow Print Server für Solaris: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 6, 2025
- ALAS2-2022-1846 Important: golang security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 23, 2025
- ALAS2023-2023-048 Important: golang security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 9, 2025
- openSUSE-SU-2024:12066-1 go1.18-1.18.2-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- WID-SEC-2023-0204 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 28, 2024
- NCSC-2024-0339 Kwetsbaarheden verholpen in Microsoft Mariner NCSC-NL (Netherlands) · Aug 13, 2024
- WID-SEC-2022-1461 IBM Spectrum Protect: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 20, 2023
- ALAS2023-2023-046 Important: golist security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · May 11, 2023
- ALAS2023-2023-047 Important: golang-github-cpuguy83-md2man security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · May 11, 2023
- ALAS2-2022-1864 Important: golang-github-kr-pty security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 11, 2023
- ALAS2-2022-1865 Important: golang-github-syndtr-gocapability security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 11, 2023
- ALAS2-2022-1862 Important: golang-googlecode-sqlite security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 11, 2023
- ALAS2-2022-1863 Important: go-rpm-macros security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 11, 2023
- ALAS2-2022-1859 Important: golang-github-gorilla-context security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 11, 2023
- ALAS2-2022-1860 Important: golang-github-gorilla-mux security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 11, 2023
- ALAS2-2022-1861 Important: golang-googlecode-net security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 11, 2023
- ALAS2-2022-1858 Important: golang-github-godbus-dbus security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 11, 2023
- ALAS2-2022-1847 Important: golist security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 11, 2023
- WID-SEC-2022-2339 IBM DB2: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023
- ELSA-2022-17956 Important: go-toolset:ol8addon security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 12, 2022
- ELSA-2022-5337 Moderate: go-toolset:ol8 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 1, 2022
- ELSA-2022-14844 Important: go-toolset:ol8addon security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jun 8, 2022
References
- https://groups.google.com/g/golang-announce
- https://github.com/golang/go/issues/52313
- https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdU
- FEDORA-2022-fae3ecee19 vendor-advisory
- FEDORA-2022-ffe7dba2cb vendor-advisory
- FEDORA-2022-ba365d3703 vendor-advisory
- https://security.netapp.com/advisory/ntap-20220729-0001/
- GLSA-202208-02 vendor-advisory
- FEDORA-2022-30c5ed5625 vendor-advisory