openEuler Security Advisory
OESA-2023-1404
golang security update
Details
The Go Programming Language
Security Fix(es):
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.(CVE-2023-29403)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP1 | golang | All versions before 1.15.7-29.oe1 (fixed in 1.15.7-29.oe1) |
| openEuler:20.03-LTS-SP3 | golang | All versions before 1.15.7-29.oe1 (fixed in 1.15.7-29.oe1) |
| openEuler:22.03-LTS | golang | All versions before 1.17.3-19.oe2203sp2 (fixed in 1.17.3-19.oe2203sp2) |
| openEuler:22.03-LTS-SP1 | golang | All versions before 1.17.3-19.oe2203sp1 (fixed in 1.17.3-19.oe2203sp1) |
| openEuler:22.03-LTS-SP2 | golang | All versions before 1.17.3-19.oe2203sp2 (fixed in 1.17.3-19.oe2203sp2) |