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.
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: Go

Published: 2023-06-08T20:19:13.222Z

Updated: 2023-06-12T19:08:37.846Z

Reserved: 2023-04-05T19:36:35.042Z


Link: CVE-2023-29403

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2023-06-08T21:15:16.927

Modified: 2023-11-25T11:15:14.497


Link: CVE-2023-29403

JSON object: View

cve-icon Redhat Information

No data.

CWE