Описание
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.
A flaw was found in golang. The go command may execute arbitrary code at build time when using cgo. This can occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This can be 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.
Отчет
This vulnerability is only applicable to customer use of the GC & GCCGO compiler and not any pre-compiled golang binaries shipped by Red Hat.
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
Red Hat Ceph Storage 3 | golang | Affected | ||
Red Hat Storage 3 | golang | Affected | ||
Red Hat Storage 3 | go-toolset-7-golang | Affected | ||
Red Hat Ceph Storage 5.3 | rhceph/keepalived-rhel8 | Fixed | RHSA-2024:4119 | 26.06.2024 |
Red Hat Ceph Storage 5.3 | rhceph/rhceph-5-dashboard-rhel8 | Fixed | RHSA-2024:4119 | 26.06.2024 |
Red Hat Ceph Storage 5.3 | rhceph/rhceph-5-rhel8 | Fixed | RHSA-2024:4119 | 26.06.2024 |
Red Hat Ceph Storage 5.3 | rhceph/rhceph-haproxy-rhel8 | Fixed | RHSA-2024:4119 | 26.06.2024 |
Red Hat Ceph Storage 5.3 | rhceph/snmp-notifier-rhel8 | Fixed | RHSA-2024:4119 | 26.06.2024 |
Red Hat Developer Tools | go-toolset-1.19 | Fixed | RHSA-2023:3920 | 29.06.2023 |
Red Hat Developer Tools | go-toolset-1.19-golang | Fixed | RHSA-2023:3920 | 29.06.2023 |
Показывать по
Дополнительная информация
Статус:
EPSS
7.5 High
CVSS3
Связанные уязвимости
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.
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.
The go command may execute arbitrary code at build time when using cgo ...
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.
EPSS
7.5 High
CVSS3