跳转到帖子

Amazon Linux 2023: CVE-2023-29405: Important priority package update for golang

recommended_posts

发布于
  • Members

Amazon Linux 2023: CVE-2023-29405: Important priority package update for golang

Severity
8
CVSS
(AV:N/AC:H/Au:N/C:C/I:C/A:C)
Published
06/08/2023
Created
02/14/2025
Added
02/14/2025
Modified
02/14/2025

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. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler. 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. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.

Solution(s)

  • amazon-linux-2023-upgrade-golang
  • amazon-linux-2023-upgrade-golang-bin
  • amazon-linux-2023-upgrade-golang-docs
  • amazon-linux-2023-upgrade-golang-misc
  • amazon-linux-2023-upgrade-golang-shared
  • amazon-linux-2023-upgrade-golang-src
  • amazon-linux-2023-upgrade-golang-tests

References

  • https://attackerkb.com/topics/cve-2023-29405
  • CVE - 2023-29405
  • https://alas.aws.amazon.com/AL2023/ALAS-2023-269.html
  • 查看数 696
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。
注意:你的帖子需要版主批准后才能看到。

游客
回帖…