# CVE-2023-29403: Unsafe behavior in setuid/setgid binaries in runtime

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2023-06-08T20:16:06.000Z
- Modified: 2026-09-08T08:47:48.870Z
- Also known as: GO-2023-1840, BIT-GOLANG-2023-29403
- Related: CGA-xvp7-rwmp-pp3m, RHSA-2023:3920, RHSA-2023:3922, RHSA-2023:3923
- Weaknesses: CWE-642, CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Go

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

(As written by CVE List.)

## Affected

- runtime: before 1.19.10; from 1.20.0-0 before 1.20.5
- stdlib (Go): before 1.19.10; from 1.20.0-0 before 1.20.5
- golang go: before 1.19.10; from 1.20.0 before 1.20.5
- fedoraproject fedora: 38
- golang (Bitnami): before 1.19.10; from 1.20.0 before 1.20.5

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://go.dev/issue/60272> (issue-tracking, report)
- <https://go.dev/cl/501223> (fix, patch)
- <https://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJ> (discussion, mailing-list, release-notes, web)
- <https://pkg.go.dev/vuln/GO-2023-1840> (advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XBS3IIK6ADV24C5ULQU55QLT2UE762ZX/> (discussion, mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NZ2O6YCO2IZMZJELQGZYR2WAUNEDLYV6/> (web)
- <https://security.gentoo.org/glsa/202311-09> (web)
- <https://security.netapp.com/advisory/ntap-20241220-0009/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-29403> (web)

## Sources

- CVE List: [CVE-2023-29403](https://www.cve.org/CVERecord?id=CVE-2023-29403), CVE Terms of Use, modified 2025-02-13
- Go Vulnerability Database: [GO-2023-1840](https://pkg.go.dev/vuln/GO-2023-1840), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-29403](https://nvd.nist.gov/vuln/detail/CVE-2023-29403), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2023-29403](https://osv.dev/vulnerability/BIT-GOLANG-2023-29403), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-29403 · Whole record: https://cve.day/CVE-2023-29403.json · Rebuilt by cve.day 2026-11-25T22:58:24.688Z
