CVE-2023-29403
published high CVSS 3.1 · 7.8Unsafe behavior in setuid/setgid binaries in runtime
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Go standard library | — | runtime0 to < 1.19.10 · 1.20.0-0 to < 1.20.5 · Other versions: unaffected | Affected | Not stated | Go |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2163 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2023-029 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2GOLANG1.19-2023-001 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2023-026 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-269 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | delve | Advisory build | 1.9.1-1.module_el8.8.0+3471+a62632a0 | ALSA-2023:3922 |
| Alpine Linux | edge | go | Fixed | 1.20.5-r0 | Package fix record |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-312 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 8 | delvex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.9.1-1.0.1.module+el8.8.0+20964+30a27755 | ELSA-2023-3922 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2023:3922 |
| SUSE / openSUSE | SLE-15-SP3 | go1.19x86_64 | Advisory build | 1.19.10-150000.1.34.1 | SUSE-SU-2023:2525-1 |
| AlmaLinux | 8 | go-toolset | Advisory build | 1.19.10-1.module_el8.8.0+3571+89db2ae0 | ALSA-2023:3922 |
| AlmaLinux | 8 | golang | Advisory build | 1.19.10-1.module_el8.8.0+3571+89db2ae0 | ALSA-2023:3922 |
| AlmaLinux | 8 | golang-bin | Advisory build | 1.19.10-1.module_el8.8.0+3571+89db2ae0 | ALSA-2023:3922 |
| AlmaLinux | 8 | golang-docs | Advisory build | 1.19.10-1.module_el8.8.0+3571+89db2ae0 | ALSA-2023:3922 |
| AlmaLinux | 8 | golang-misc | Advisory build | 1.19.10-1.module_el8.8.0+3571+89db2ae0 | ALSA-2023:3922 |
| AlmaLinux | 8 | golang-race | Advisory build | 1.19.10-1.module_el8.8.0+3571+89db2ae0 | ALSA-2023:3922 |
| AlmaLinux | 8 | golang-src | Advisory build | 1.19.10-1.module_el8.8.0+3571+89db2ae0 | ALSA-2023:3922 |
| AlmaLinux | 8 | golang-tests | Advisory build | 1.19.10-1.module_el8.8.0+3571+89db2ae0 | ALSA-2023:3922 |
| AlmaLinux | 9 | go-toolset | Advisory build | 1.19.10-1.el9_2 | ALSA-2023:3923 |
| AlmaLinux | 9 | golang | Advisory build | 1.19.10-1.el9_2 | ALSA-2023:3923 |
| AlmaLinux | 9 | golang-bin | Advisory build | 1.19.10-1.el9_2 | ALSA-2023:3923 |
| AlmaLinux | 9 | golang-docs | Advisory build | 1.19.10-1.el9_2 | ALSA-2023:3923 |
| AlmaLinux | 9 | golang-misc | Advisory build | 1.19.10-1.el9_2 | ALSA-2023:3923 |
| AlmaLinux | 9 | golang-race | Advisory build | 1.19.10-1.el9_2 | ALSA-2023:3923 |
| AlmaLinux | 9 | golang-src | Advisory build | 1.19.10-1.el9_2 | ALSA-2023:3923 |
| AlmaLinux | 9 | golang-tests | Advisory build | 1.19.10-1.el9_2 | ALSA-2023:3923 |
| Alpine Linux | v3.18 | go | Fixed | 1.20.5-r0 | Package fix record |
| Alpine Linux | v3.19 | go | Fixed | 1.20.5-r0 | Package fix record |
| Alpine Linux | v3.20 | go | Fixed | 1.20.5-r0 | Package fix record |
| Alpine Linux | v3.21 | go | Fixed | 1.20.5-r0 | Package fix record |
| Alpine Linux | v3.22 | go | Fixed | 1.20.5-r0 | Package fix record |
| Alpine Linux | v3.23 | go | Fixed | 1.20.5-r0 | Package fix record |
| Alpine Linux | v3.24 | go | Fixed | 1.20.5-r0 | Package fix record |
| Oracle Linux | 8 | go-toolsetaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | go-toolsetx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golangaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golangx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golang-binaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golang-binx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golang-docsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golang-docsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golang-miscaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golang-miscx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golang-racex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golang-srcaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golang-srcx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golang-testsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 8 | golang-testsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 | ELSA-2023-3922 |
| Oracle Linux | 9 | go-toolsetaarch64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | go-toolsetx86_64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golangaarch64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golangx86_64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golang-binaarch64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golang-binx86_64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golang-docsaarch64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golang-docsx86_64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golang-miscaarch64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golang-miscx86_64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golang-racex86_64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golang-srcaarch64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golang-srcx86_64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golang-testsaarch64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Oracle Linux | 9 | golang-testsx86_64 | Advisory build | 0:1.19.10-1.0.1.el9_2 | ELSA-2023-3923 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourcex86_64 | Advisory build | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetaarch64 | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetppc64le | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsets390x | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetsrc | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetx86_64 | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golangaarch64 | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golangppc64le | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golangs390x | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golangsrc | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golangx86_64 | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binaarch64 | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binppc64le | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golang-bins390x | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golang-binx86_64 | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golang-docsnoarch | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golang-miscnoarch | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golang-racex86_64 | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golang-srcnoarch | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-8 | golang-testsnoarch | Advisory build | 1.19.10-1.module+el8.8.0+19203+782922b7 | RHSA-2023:3922 |
| Red Hat Enterprise Linux | RHEL-9 | go-toolsetaarch64 | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | go-toolsetppc64le | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | go-toolsets390x | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | go-toolsetsrc | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | go-toolsetx86_64 | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golangaarch64 | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golangppc64le | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golangs390x | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golangsrc | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golangx86_64 | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golang-binaarch64 | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golang-binppc64le | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golang-bins390x | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golang-binx86_64 | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golang-docsnoarch | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golang-miscnoarch | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golang-racex86_64 | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golang-srcnoarch | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| Red Hat Enterprise Linux | RHEL-9 | golang-testsnoarch | Advisory build | 1.19.10-1.el9_2 | RHSA-2023:3923 |
| SUSE / openSUSE | SLE-15-SP3 | go1.19-docx86_64 | Advisory build | 1.19.10-150000.1.34.1 | SUSE-SU-2023:2525-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
On Unix platforms, the Go runtime does not behave differently when a binary is run with the setuid/setgid bits. This can be dangerous in certain cases, such as when dumping memory state, or assuming the status of standard i/o file descriptors. If a setuid/setgid binary is executed with standard I/O file descriptors closed, opening any files can result in unexpected content being read or written with elevated privileges. Similarly, if a setuid/setgid program is terminated, either via panic or signal, it may leak the contents of its registers.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Go standard library | runtime | 0 to < 1.19.10 (affected · semver)1.20.0-0 to < 1.20.5 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
1- CWE-642 CWE-642: External Control of Critical State Data
References
8- https://go.dev/cl/501223
- https://go.dev/issue/60272
- https://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJ
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NZ2O6YCO2IZMZJELQGZYR2WAUNEDLYV6/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XBS3IIK6ADV24C5ULQU55QLT2UE762ZX/
- https://pkg.go.dev/vuln/GO-2023-1840
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20241220-0009/
Provider assertions
3Go · cna
Unsafe behavior in setuid/setgid binaries in runtime
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 14f2363afbbb769949ccd051e8ea3c18b5510ec51256f962e13145237c431500
- Ingested
- 23 Sep 2026, 08:07:56 UTC
- Source record
- Official CVE record