English version →
カテゴリ
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.

出典: OSV.dev (Open Source Vulnerabilities) NVD OSV

影響パッケージ

Bitnami golang
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.20.9"},{"introduced":"1.21.0"},{"fixed":"1.21.2"}]}]

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の修正パッケージ

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく