cve.bz

CVE-2023-29403 Exposure of Resource to Wrong Sphere

7.8 highEPSS 0.4%Fix available

High (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.19.10, 1.20.5.

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

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-01-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-668 Exposure of Resource to Wrong Sphere
OWASP Top 10
A01:2025 Broken Access Control
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-2023-29403 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-29403?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-29403?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-2023-29403 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 CNA's record in the CVE List.

ProductAffected
Go standard library runtimebefore 1.19.10
Go standard library runtimefrom 1.20.0-0 before 1.20.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2023-1840Gostdlib<1.19.10
>=1.20.0-0 <1.20.5
1.19.10, 1.20.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2023-29403
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2023-29403
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2023-29403
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2023-29403
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.20no fix listedUBUNTU-CVE-2023-29403
Ubuntu20.04:LTSgolang-1.181.18.1-1ubuntu1~20.04.3UBUNTU-CVE-2023-29403 USN-7109-1
Ubuntu22.04:LTSgolang-1.171.17.13-3ubuntu1.2UBUNTU-CVE-2023-29403 USN-7061-1
Ubuntu22.04:LTSgolang-1.181.18.1-1ubuntu1.2UBUNTU-CVE-2023-29403 USN-7109-1
Ubuntu22.04:LTSgolang-1.20no fix listedUBUNTU-CVE-2023-29403
UbuntuPro:16.04:LTSgolang-1.181.18.1-1ubuntu1~16.04.6+esm1UBUNTU-CVE-2023-29403 USN-7109-1
UbuntuPro:16.04:LTS, Pro:22.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2023-29403
UbuntuPro:18.04:LTSgolang-1.13, golang-1.16no fix listedUBUNTU-CVE-2023-29403
UbuntuPro:18.04:LTSgolang-1.181.18.1-1ubuntu1~18.04.4+esm1UBUNTU-CVE-2023-29403 USN-7109-1
1 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatdevtools:2023::el7go-toolset-1.19, go-toolset-1.19-build, go-toolset-1.19-golang and 8 more0:1.19.10-1.el7_9RHSA-2023:3920
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.9.1-1.module+el8.8.0+16778+5fbb74f5RHSA-2023:3922
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.19.10-1.module+el8.8.0+19203+782922b7RHSA-2023:3922
Red Hatenterprise_linux:9::appstreamgolang, go-toolset, golang-bin and 5 more0:1.19.10-1.el9_2RHSA-2023:3923
SUSELinux Enterprise Module for Development Tools 15 SP4, Linux Enterprise Module for Development Tools 15 SP5, Linux Enterprise Real Time 15 SP3go1.191.19.10-150000.1.34.1SUSE-SU-2023:2525-1
SUSELinux Enterprise Module for Development Tools 15 SP4, Linux Enterprise Module for Development Tools 15 SP5, Linux Enterprise Real Time 15 SP3go1.201.20.5-150000.1.14.1SUSE-SU-2023:2526-1
openSUSELeap 15.4, Leap 15.5go1.191.19.10-150000.1.34.1SUSE-SU-2023:2525-1
openSUSELeap 15.4, Leap 15.5go1.201.20.5-150000.1.14.1SUSE-SU-2023:2526-1
openSUSETumbleweedgo1.191.19.10-1.1openSUSE-SU-2024:12987-1
openSUSETumbleweedgo1.201.20.5-1.1openSUSE-SU-2024:12988-1
AlmaLinux8delve1.9.1-1.module_el8.8.0+3471+a62632a0ALSA-2023:3922
AlmaLinux8golang, go-toolset, golang-bin and 5 more1.19.10-1.module_el8.8.0+3571+89db2ae0ALSA-2023:3922
AlmaLinux9golang, go-toolset, golang-bin and 5 more1.19.10-1.el9_2ALSA-2023:3923
Rocky Linux9golang, go-toolset0:1.19.10-1.el9_2RLSA-2023:3923
Alpinev3.18, v3.19, v3.20 and 4 morego1.20.5-r0ALPINE-CVE-2023-29403
Azure Linux2golang1.20.7-1AZL-27112
Azure Linux2golang1.21.6-1AZL-37301 AZL-37368
Azure Linux2msft-golang1.20.7-1AZL-27121
Azure Linux3golangno fix listedAZL-79002 AZL-98901
Azure Linux3golang1.20.7-1AZL-52789

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; Microsoft's Azure Linux vulnerability data, MIT. 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 Important.

ProductPackageStateAdvisory
Red Hat Developer Toolsgo-toolset-1.19-0:1.19.10-1.el7_9Fixed 2023-06-29RHSA-2023:3920
Red Hat Developer Toolsgo-toolset-1.19-golang-0:1.19.10-1.el7_9Fixed 2023-06-29RHSA-2023:3920
Red Hat Enterprise Linux 8go-toolset:rhel8-8080020230627164522.6b4b45d8Fixed 2023-06-29RHSA-2023:3922
Red Hat Enterprise Linux 9golang-0:1.19.10-1.el9_2Fixed 2023-06-29RHSA-2023:3923
Red Hat Enterprise Linux 9go-toolset-0:1.19.10-1.el9_2Fixed 2023-06-29RHSA-2023:3923
Red Hat Ceph Storage 3golangAffected
Red Hat OpenShift GitOpsopenshift-gitops-1/argo-rollouts-rhel8Not affected
Red Hat Storage 3golangAffected
Red Hat Storage 3go-toolset-7-golangAffected

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-2023-29403.

References

Check your stackJSON