Описание
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.
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. 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.
Отчет
This vulnerability is only applicable to customer use of the 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 |
Показывать по
Дополнительная информация
Статус:
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. 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.
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.
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. 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.
Уязвимость расширения Cgo языка программирования Go, позволяющая нарушителю выполнить произвольный код
7.5 High
CVSS3