Описание
Security update for go1.19
This update for go1.19 fixes the following issues:
Update to go1.19.10 (bsc#1200441):
- CVE-2023-29402: cmd/go: Fixed cgo code injection (bsc#1212073).
- CVE-2023-29403: runtime: Fixed unexpected behavior of setuid/setgid binaries (bsc#1212074).
- CVE-2023-29404: cmd/go: Fixed improper sanitization of LDFLAGS (bsc#1212075).
- CVE-2023-29405: cmd/go: Fixed improper sanitization of LDFLAGS (bsc#1212076).
Список пакетов
SUSE Linux Enterprise Module for Development Tools 15 SP4
SUSE Linux Enterprise Module for Development Tools 15 SP5
SUSE Linux Enterprise Real Time 15 SP3
openSUSE Leap 15.4
openSUSE Leap 15.5
Ссылки
- Link for SUSE-SU-2023:2525-1
- E-Mail link for SUSE-SU-2023:2525-1
- SUSE Security Ratings
- SUSE Bug 1200441
- SUSE Bug 1212073
- SUSE Bug 1212074
- SUSE Bug 1212075
- SUSE Bug 1212076
- SUSE CVE CVE-2023-29402 page
- SUSE CVE CVE-2023-29403 page
- SUSE CVE CVE-2023-29404 page
- SUSE CVE CVE-2023-29405 page
Описание
The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via "go get", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).
Затронутые продукты
Ссылки
- CVE-2023-29402
- SUSE Bug 1212073
Описание
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
- SUSE Bug 1212074
Описание
The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.
Затронутые продукты
Ссылки
- CVE-2023-29404
- SUSE Bug 1212075
Описание
The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.
Затронутые продукты
Ссылки
- CVE-2023-29405
- SUSE Bug 1212076