参考 スコア待ち
Go security fixes: code execution at build time and web server crash
Building someone else's Go code can run commands on your PC.
対処法
Update to Go 1.27.4 or 1.26.11 or later.
お使いの製品に合ったバージョン以降に更新してください:
- Go 1.27 1.27.4 以降
- Go 1.26 1.26.11 以降
要約
Go 1.27.4 and 1.26.11 fix 12 security flaws. Building a malicious package can run code at build time, and HTTP/1 servers using MaxBytesReader or MaxBytesHandler can crash.
該当する条件
- building a package that uses cgo
- HTTP/1 server using MaxBytesReader or MaxBytesHandler
製品別のインシデント: Go