漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go
Vulnerability Description
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 Information
N/A
Vulnerability Type
N/A
Vulnerability Title
Google Go 代码注入漏洞
Vulnerability Description
Google Go是美国谷歌(Google)公司的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。 Google Go 1.19.10 之前版本、 1.20.0-0到1.20.5版本存在安全漏洞,该漏洞源于使用 cgo 时,go 命令可能会在构建时执行任意代码。
CVSS Information
N/A
Vulnerability Type
N/A