Live threats

All CVEs / Golang

CVE-2023-29403Golang Go

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.4%
probability of exploitation in 30 days · percentile 29
Auth required
Yes
Published
Jun 8, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-668
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.19.10 1.19.10 go get stdlib@v1.19.10
Go stdlib ≥ 1.20.0-0 < 1.20.5 1.20.5 go get stdlib@v1.20.5

Per OSV / GitHub Advisories (GO-2023-1840). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.19.10
golanggo≥ 1.20.0 < 1.20.5
fedoraprojectfedora38

Official sources

References

Links published by the sources. Open them with care.