Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-29403

golang: runtime: unexpected behavior of setuid/setgid binaries

Overview

Published
8 Jun 2023
Modified
17 Jun 2026
High CVE
2 Registry packages
53 OS packages
17 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-668

Affected packages · 2

Packages affected by CVE-2023-29403
EcosystemPackageVulnerableFixed in
Bitnami golang <1.19.10>=1.20.0, <1.20.5 1.19.101.20.5
Go stdlib <1.19.10>=1.20.0-0, <1.20.5 1.19.101.20.5

Open a package to see all its vulnerabilities.

Operating systems · 51 fixes

Azure Linux 1 release · 1 package

fixed 1
golang
Azure Linux fixes for CVE-2023-29403
ReleasePackageFixed in
3.0 golang 0:1.20.7-1.azl3

Oracle Linux 2 releases · 3 packages

fixed 4
golang go-toolset delve
Oracle Linux fixes for CVE-2023-29403
ReleasePackageFixed in
8 golang +6 1.19.10-1.0.1.module+el8.8.0+21109+b7104c00
8 go-toolset 1.19.10-1.module+el8.8.0+21109+b7104c00
8 delve 1.9.1-1.0.1.module+el8.8.0+20964+30a27755
9 go-toolset +7 1.19.10-1.0.1.el9_2

Photon OS 2 releases · 4 packages

fixed 7
pmd-ng kubernetes-dashboard calico go
Photon OS fixes for CVE-2023-29403
ReleasePackageFixed in
4.0 pmd-ng 0.1-2.ph4
4.0 kubernetes-dashboard 2.7.0-1.ph4
4.0 calico +4 3.20.2-14.ph4
5.0 pmd-ng 0.1-3.ph5
5.0 go 1.20.5-1.ph5
5.0 kubernetes-dashboard 2.7.0-6.ph5

1 more row

Red Hat 4 releases · 5 packages

affected 2 fixed 4
go-toolset-7-golang golang go-toolset-1-19 go-toolset delve
Red Hat fixes for CVE-2023-29403
ReleasePackageFixed inAdvisory
go-toolset-7-golang +3 affected —
7 golang +2 affected —
7 go-toolset-1-19 +10 0:1.19.10-1.el7_9 RHSA-2023:3920
8 (go-toolset:rhel8) go-toolset +7 0:1.19.10-1.module+el8.8.0+19203+782922b7 RHSA-2023:3922
8 (go-toolset:rhel8) delve 0:1.9.1-1.module+el8.8.0+16778+5fbb74f5 RHSA-2023:3922
9 go-toolset +7 0:1.19.10-1.el9_2 RHSA-2023:3923

SUSE Linux Enterprise 2 releases · 2 packages

fixed 4
go1-19 go1-20
SUSE Linux Enterprise fixes for CVE-2023-29403
ReleasePackageFixed inAdvisory
15.4 go1-19 +2 1.19.10-150000.1.34.1 SUSE-SU-2023:2525-1
15.4 go1-20 +2 1.20.5-150000.1.14.1 SUSE-SU-2023:2526-1
15.5 go1-19 +2 1.19.10-150000.1.34.1 SUSE-SU-2023:2525-1
15.5 go1-20 +2 1.20.5-150000.1.14.1 SUSE-SU-2023:2526-1

alma 2 releases · 2 packages

fixed 3
go-toolset delve
alma fixes for CVE-2023-29403
ReleasePackageFixed in
8 (go-toolset:rhel8) go-toolset +7 1.19.10-1.module_el8.8.0+3571+89db2ae0
8 (go-toolset:rhel8) delve 1.9.1-1.module_el8.8.0+3471+a62632a0
9 go-toolset +7 1.19.10-1.el9_2

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2023-29403
ReleasePackageFixed in
3.22 go 1.20.5-r0
3.23 go 1.20.5-r0
3.24 go 1.20.5-r0
edge go 1.20.5-r0

amazon linux 1 release · 2 packages

fixed 2
golang containerd
amazon linux fixes for CVE-2023-29403
ReleasePackageFixed in
2023 golang +6 1.20.5-1.amzn2023.0.2
2023 containerd +4 1.7.2-1.amzn2023.0.2

chainguard 1 release · 3 packages

fixed 3
kubeflow-katib kind policy-controller
chainguard fixes for CVE-2023-29403
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40
kind 0.21.0-r0
policy-controller 0.7.0-r4

debian 3 releases · 3 packages

affected 3
golang-1-11 golang-1-15 golang-1-19
debian fixes for CVE-2023-29403
ReleasePackageFixed in
10 golang-1-11 affected
11 golang-1-15 affected
12 golang-1-19 affected

echo 1 release · 1 package

affected 1
golang-1-19
echo fixes for CVE-2023-29403
ReleasePackageFixed in
golang-1-19 affected

minimos 1 release · 1 package

fixed 1
trigger-dev
minimos fixes for CVE-2023-29403
ReleasePackageFixed in
trigger-dev 4.5.11-r1

openSUSE 1 release · 2 packages

fixed 2
go1-19 go1-20
openSUSE fixes for CVE-2023-29403
ReleasePackageFixed inAdvisory
Tumbleweed go1-19 +3 1.19.10-1.1 openSUSE-SU-2024:12987-1
Tumbleweed go1-20 +3 1.20.5-1.1 openSUSE-SU-2024:12988-1

rocky 1 release · 1 package

fixed 1
go-toolset
rocky fixes for CVE-2023-29403
ReleasePackageFixed in
9 go-toolset +7 1.19.10-1.el9_2

root.io debian 1 release · 1 package

affected 1
rootio-golang-1-19
root.io debian fixes for CVE-2023-29403
ReleasePackageFixed in
12 rootio-golang-1-19 affected

ubuntu 4 releases · 2 packages

fixed 5
golang-1-18 golang-1-17
ubuntu fixes for CVE-2023-29403
ReleasePackageFixed in
18.04-ESM golang-1-18 1.18.1-1ubuntu1~18.04.4+esm1
20.04 golang-1-18 1.18.1-1ubuntu1~20.04.3
20.04-ESM golang-1-18 1.18.1-1ubuntu1~20.04.3
22.04 golang-1-17 1.17.13-3ubuntu1.2
22.04 golang-1-18 1.18.1-1ubuntu1.2

wolfi 1 release · 3 packages

fixed 3
kubeflow-katib kind policy-controller
wolfi fixes for CVE-2023-29403
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40
kind 0.21.0-r0
policy-controller 0.7.0-r4

References

Show all 35 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.