Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
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