漏洞标题
improper sanitization of LDFLAGS in go command with cgo in cmd/go
漏洞描述信息
在cmd/go中,对于包含cgo的非必需LDFLAGS处理不当
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞类别
在文件访问前对链接解析不恰当(链接跟随)
漏洞标题
Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go
漏洞描述信息
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.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Google Go 代码注入漏洞
漏洞描述信息
Google Go是美国谷歌(Google)公司的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。 Google Go 1.19.10 之前版本、 1.20.0-0到1.20.5版本存在安全漏洞,该漏洞源于使用 cgo 时,go 命令可能会在构建时执行任意代码。
CVSS信息
N/A
漏洞类别
代码注入