Update to gosu 1.20 (moby/sys/user v0.4.1, GO-2026-6686)
还没有人认领这个 Issue。
评估
调研方向
Issue 以 17/alpine3.23/Dockerfile 为例,并指出当前镜像将 GOSU_VERSION 设置为 1.19。首先检查该版本以及 #1201 中此前的版本更新,然后在各个镜像目录中查找对应的版本声明。将它们更新为 gosu 1.20,并检查镜像定义是否一致地使用了所要求的版本。
由索引模型根据 Issue 内容生成。
描述
gosu 1.20 was released on 2026-10-25 (https://github.com/tianon/gosu/releases/tag/1.20). The current images still set ENV GOSU_VERSION 1.19, for example 17/alpine3.23/Dockerfile.
gosu 1.19 links github.com/moby/sys/user v0.1.0, which is affected by GO-2026-6686 / CVE-2026-61801 (possible denial of service through unbounded parsing of user and group database files, fixed in v0.4.1). 1.20 links v0.4.1.
govulncheck v1.9.0 in binary mode on the linux/arm64 binaries:
| gosu 1.19 | gosu 1.20 | |
|---|---|---|
moby/sys/user |
v0.1.0 | v0.4.1 |
| GO-2026-6686 | reported, with symbols GetExecUser, GetExecUserPath, ParseGroupFilter |
not reported |
gosu does call this code at container start through GetExecUserPath. On the files the image ships, root-owned and read at start-up, I see no practical attack, so this is not a report of an exploitable issue in these images. It is a request to pick up a release that already exists.
Would you take gosu 1.20, as was done for earlier gosu releases (for example #1201)? Both binaries are built with Go 1.24.6, so this does not change the Go standard library findings scanners report. #1304 and #1350 are about those and about replacing gosu; this request is only the version bump.
- 主要语言
- Shell
- 星标
- 2.5k
- 派生
- 1.2k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker-library/postgres 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
docker-library/postgres#1427 ·
-
难度 4/5 3-5 天 新手友好度 48/100
docker-library/postgres#1420 ·
-
难度 4/5 3-5 天 新手友好度 48/100
docker-library/postgres#1419 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
docker-library/postgres#1389 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
docker-library/postgres#1356 · 5 条评论 · 7 个 reaction ·
查看 docker-library/postgres 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 82/100
-
难度 1/5 1 小时以内 新手友好度 72/100
raetha/wyzesense2mqtt#116 ·
-
难度 1/5 1 小时以内 新手友好度 62/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
catppuccin/tmux#608 ·
-
area:linux source:reader type:content-error
难度 1/5 1 小时以内 新手友好度 72/100
stephrobert/blog-roadmap#185 ·