CVE-2023-29403
Last modified
CVE-2023-29403 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.19.10 |
| Golang | Go | >= 1.20.0, < 1.20.5 |
| Fedoraproject | Fedora | 38 |
References
- https://go.dev/issue/60272Issue Tracking
- https://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2023-1840Vendor Advisory
- https://go.dev/issue/60272Issue Tracking
- https://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2023-1840Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-29403?
How severe is CVE-2023-29403?
How do I fix CVE-2023-29403?
Are you affected by CVE-2023-29403?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
