v1.75.0 binaries are built with go1.27.3, so scanners report 12 stdlib CVEs

未关闭
#4,818 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
go
领域
release, security

调研方向

The report identifies the published v1.75.0 binaries and says their embedded Go version is go1.27.3. Start by checking the release build configuration and artifact workflow to find which Go version produces those binaries. Done means a patch release is built with go1.27.4 and the published binary reports that version in its build info.

由索引模型根据 Issue 内容生成。

描述

Summary

The published v1.75.0 binaries are built with go1.27.3. Container image
scanners read the Go version out of a binary's embedded build info, so an
image that ships the official buf binary is reported as carrying the
go1.27.3 standard library and its known CVEs.

To be clear, this is not a vulnerability in buf's own code — the newest
release simply predates the current Go patch release. Filing it in case it is
useful to know that the released artifacts are being flagged downstream.

What a scanner sees
$ go version -m /usr/local/bin/buf
/usr/local/bin/buf: go1.27.3
	path	github.com/bufbuild/buf/cmd/buf
	mod	github.com/bufbuild/buf	v1.75.0

12 Go standard library advisories are reported against that binary, all fixed
in go1.27.4:

severity CVE
CRITICAL (9.8) CVE-2026-97040
HIGH (8.8) CVE-2026-97033, CVE-2026-97034, CVE-2026-97035, CVE-2026-97036, CVE-2026-97037, CVE-2026-97038, CVE-2026-97041, CVE-2026-97042, CVE-2026-97043
HIGH (8.3) CVE-2026-97039
MEDIUM (5.9) CVE-2026-97054
Context

There is no newer tag to move to today, so anyone consuming the official
binary has no way to avoid open vulnerability alerts from their scanner. A
patch release rebuilt on go1.27.4 would solve it.

主要语言
Go
星标
11.5k
派生
376
平均合并
2 天 3 小时
30 天内合并 PR
21

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

bufbuild/buf 的其他 Issue

查看 bufbuild/buf 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。