CVE-2023-39323
Arbitrary code execution during build via line directives in cmd/go
概要
Arbitrary code execution during build via line directives in cmd/go
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in which the directive lives, which makes exploiting this issue significantly more complex.
影響パッケージ
Bitnami
golang
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.20.9"},{"introduced":"1.21.0"},{"fixed":"1.21.2"}]}]
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の修正パッケージ
- Debian DEBIAN-CVE-2023-39323 golang-1.15
参照URL
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory pkg.go.dev
- advisory security.gentoo.org
- advisory security.netapp.com
- patch go.dev
- patch go.dev
- web groups.google.com
- web nvd.nist.gov