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

Status: PUBLISHED

Assigner: Go

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

Updated: 2024-08-02T14:07:46.027Z

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

Link: CVE-2023-29403

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

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

Link: CVE-2023-29403

cve-icon Redhat

Severity : Important

Publid Date: 2023-06-08T00:00:00Z

Links: CVE-2023-29403 - Bugzilla