CVE-2023-29403Golang Go
High 7.8
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Go.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.19.10 |
| golang | go | ≥ 1.20.0 < 1.20.5 |
| fedoraproject | fedora | 38 |
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch
- go.dev Issue Tracking
- groups.google.com Mailing List Release Notes
- lists.fedoraproject.org
- lists.fedoraproject.org Mailing List
- pkg.go.dev Vendor Advisory
- security.gentoo.org
- security.netapp.com