Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2023-29404

Опубликовано: 08 июн. 2023
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

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 3golangAffected
Red Hat Storage 3golangAffected
Red Hat Storage 3go-toolset-7-golangAffected
Red Hat Ceph Storage 5.3rhceph/keepalived-rhel8FixedRHSA-2024:411926.06.2024
Red Hat Ceph Storage 5.3rhceph/rhceph-5-dashboard-rhel8FixedRHSA-2024:411926.06.2024
Red Hat Ceph Storage 5.3rhceph/rhceph-5-rhel8FixedRHSA-2024:411926.06.2024
Red Hat Ceph Storage 5.3rhceph/rhceph-haproxy-rhel8FixedRHSA-2024:411926.06.2024
Red Hat Ceph Storage 5.3rhceph/snmp-notifier-rhel8FixedRHSA-2024:411926.06.2024
Red Hat Developer Toolsgo-toolset-1.19FixedRHSA-2023:392029.06.2023
Red Hat Developer Toolsgo-toolset-1.19-golangFixedRHSA-2023:392029.06.2023

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-94
https://bugzilla.redhat.com/show_bug.cgi?id=2217565golang: cmd/go: go command may execute arbitrary code at build time when using cgo

EPSS

Процентиль: 20%
0.00061
Низкий

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 9.8
ubuntu
около 2 лет назад

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.

CVSS3: 9.8
nvd
около 2 лет назад

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.

CVSS3: 9.8
msrc
около 2 лет назад

Описание отсутствует

CVSS3: 9.8
debian
около 2 лет назад

The go command may execute arbitrary code at build time when using cgo ...

CVSS3: 9.8
github
около 2 лет назад

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

Процентиль: 20%
0.00061
Низкий

7.5 High

CVSS3