安全公告/【CVE-2023-29404】
基本信息
漏洞描述
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.
修复方式
yum update PackageName
漏洞判定
执行命令yum info PackageName获取软件包版本号,版本小于修复版本,则受此漏洞影响,版本大于等于修复版本,则此漏洞已修复
参考
https://gitee.com/src-openeuler/golang/issues/I7F7HH
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29404
https://nvd.nist.gov/vuln/detail/CVE-2023-29404