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
Affected Vendors & Products
References
History
Fri, 20 Dec 2024 13:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
MITRE
Status: PUBLISHED
Assigner: Go
Published: 2023-06-08T20:19:13.222Z
Updated: 2024-12-20T13:06:40.480Z
Reserved: 2023-04-05T19:36:35.042Z
Link: CVE-2023-29403
Vulnrichment
No data.
NVD
Status : Modified
Published: 2023-06-08T21:15:16.927
Modified: 2024-12-20T13:15:18.673
Link: CVE-2023-29403
Redhat