Vulnerable `x/net` and `MongoDB` Go dependencies
维护者通常 4 天内回复
评估
调研方向
Start with the Go dependency declarations and update golang.org/x/net to v0.62.0 or later and go.mongodb.org/mongo-driver/v2 to v2.9.2 or later. Check the resulting dependency versions and run the repository’s relevant Go checks; done when both minimum versions are present. An open linked pull request already addresses this issue.
由索引模型根据 Issue 内容生成。
描述
Summary
Our security scanner reports vulnerabilities in golang.org/x/net and go.mongodb.org/mongo-driver/v2 in our deployed Outpost Docker image.
The inspected repository checkout includes these indirect dependencies:
golang.org/x/net v0.60.0; scanner recommendsv0.62.0go.mongodb.org/mongo-driver/v2 v2.8.0; scanner recommendsv2.9.0
These findings concern HTML parsing/rendering and BSON value-length validation. Their presence in the dependency list does not by itself establish exploitability in Outpost.
Affected image
- Source versions observed in the inspected checkout:
golang.org/x/net v0.60.0go.mongodb.org/mongo-driver/v2 v2.8.0
Scanner findings
golang.org/x/net
Scanner summary:
golang.org/x/net is affected by 2 unique vulnerabilities. 1 is high and 1 is medium.
In order to fix all of these vulnerabilities, update golang.org/x/net to 0.62.0.
golang.org/x/net v0.62.0 fixes two issues in golang.org/x/net/html:
- CVE-2026-78661 / GO-2026-6860: Crafted HTML containing repeated short text runs can cause quadratic allocations and copying during parsing, potentially causing denial of service. Affects
Parse,ParseFragmentand their options variants. - CVE-2026-97045 / GO-2026-6866: Incorrect handling of ancestor namespace transitions in
Rendercan produce output that is interpreted differently when parsed again, potentially enabling cross-site scripting.
Both affect versions before v0.62.0.
References:
go.mongodb.org/mongo-driver/v2
The scanner reports an integer overflow in BSON value-length handling:
- CVE-2026-107324
- GHSA-xhx9-594p-jcqq
- Affected v2 versions: before
v2.9.0 - Fixed version:
v2.9.0
When processing a malformed BSON value, valueLength() adds fixed overhead to an attacker-controlled length using an int32. The result can overflow to a negative number, pass a bounds check, and cause a slice-bounds panic.
An application that validates or accesses attacker-controlled BSON through an affected path can panic. Without recovery, this can terminate the process and cause denial of service.
References:
Requested fix
- Update
golang.org/x/nettov0.62.0or later. - Update
go.mongodb.org/mongo-driver/v2to at leastv2.9.0for the reported BSON overflow. - Prefer MongoDB driver
v2.9.2or later to also cover the separately disclosed BSON array-validation vulnerability.
- 主要语言
- Go
- 星标
- 1.1k
- 派生
- 70
- 平均合并
- 3 天 21 小时
- 30 天内合并 PR
- 34
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hookdeck/outpost 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 4 天内回复
-
Add gRPC support for publishing events可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭enhancement
难度 4/5 3-5 天 新手友好度 30/100
hookdeck/outpost#1195 · 2 条评论 ·
维护者通常 4 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
hookdeck/outpost#1194 · 1 条评论 ·
维护者通常 4 天内回复
-
难度 5/5 一周以上 新手友好度 38/100
维护者通常 4 天内回复
相似的 Issue
-
type/bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area/admin/user area/internationalization automated-triage issue/auto-triaged type/bug
难度 1/5 1 小时以内 新手友好度 76/100
grafana/grafana#137281 · 1 条评论 ·
维护者通常 1 天内回复
-
go good first issue
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 78/100
mvanhorn/printing-press-library#2447 ·
维护者通常 1 天内回复