Scanners flag bundled [email protected] for CVE-2026-84947, but GitHub’s Advisory Database doesn’t list 6.x as affected
维护者通常 2 天内回复
@reggi 已经在做这个了。
开始于 2026年11月24日。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript, node.js
调研方向
The issue traces the bundled dependency through node-gyp and identifies undici's lib/interceptor/dump.js as the vulnerable code, but does not name npm's bundle configuration files. Start by checking how npm 12 selects and bundles node-gyp's undici dependency, then review related issues #10111 and #10163. Done means the latest line bundles a fixed undici version, or the project documents that it will stay on undici 6.x without a fix.
由索引模型根据 Issue 内容生成。
描述
[email protected] (and 11.21.2) bundle [email protected] (via node-gyp, undici ^6.25.0). Vulnerability scanners flag it for CVE-2026-84947 / GHSA-2gqq-gqf2-x968 (undici interceptors.dump() ends a chunked response early once maxSize is reached, so the caller sees a truncated 200).
The GitHub advisory lists undici 7.1.0-7.29.0 and 8.0.0-8.10.1, but the 6.x line has the same code since 6.17.0, the first release that ships lib/interceptor/dump.js. In 6.29.1, DumpHandler.onData does if (this.#size >= this.#maxSize) { this.#dumped = true; ... this.#handler.onComplete([]) }, i.e. it completes the response normally; the 7.29.1 fix aborts instead (diff of lib/interceptor/dump.js between 7.29.0 and 7.29.1). Sonatype's data also lists CVE-2026-84947 on undici 6.17.0 and later, and no 6.x release has a fix (latest 6.29.1).
npm does not call the dump interceptor (no reference outside undici in the npm 11.20.0 tree), so this is about bundled-dependency hygiene for consumers that scan the package. Request: bundle an undici at 7.29.1 / 8.10.2 or newer on the latest line (npm 12's engines is ^22.22.2 || ^24.15.0 || >=26.0.0, within undici 7's >=20.18.1), or say that undici 6.x is the intended line and no fix is planned.
Related: #10111 and #10163 (bundled undici refreshed within 6.x).
- 主要语言
- JavaScript
- 星标
- 10.3k
- 派生
- 5k
- 平均合并
- 4 天 11 小时
- 30 天内合并 PR
- 26
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
npm/cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 2 天内回复
-
[BUG] scripts/dependency-graph.js splits npm-cli-repos.txt on os.EOL, so DEPENDENCIES.md depends on the checkout's line endings可能已有人在做 @saruk-vedant 于 7 天前认领。 未关闭Bug Needs Triage Triage Requested
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
[BUG] npm pkg delete removes the first array item for a nonexistent property可能已有人在做 @drawliin 于 42 天前认领。 未关闭cmd:delete Priority 3
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 2 天内回复
-
create node pr: Node.js 20 deprecation & `DEP0040` warnings logged可能重新可做 关联的 PR 已关闭且未合并。 未关闭Engineering Priority 1
难度 1/5 1 小时以内 新手友好度 80/100
维护者通常 2 天内回复
-
`npm audit signatures` does not report how many packages it skipped for want of registry keys可能已有人在做 @greenlincoln05 于 63 天前认领。 未关闭Priority 3
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复
相似的 Issue
-
documentation
难度 1/5 1 小时以内 新手友好度 88/100
githubnext/gh-aw-workshop#6332 ·
维护者通常 1 天内回复
-
App Designer bug
难度 2/5 1-3 小时 新手友好度 78/100
avniproject/avni-webapp#1858 ·
-
bug
难度 1/5 1 小时以内 新手友好度 96/100
hiero-ledger/hiero-sdk-js#4834 ·
维护者通常 1 天内回复
-
[组件名称] 描述问题的标题未关闭🐞 bug 🧐 unconfirmed
难度 2/5 1-3 小时 新手友好度 68/100
Tencent/tdesign-miniprogram#4744 · 1 条评论 ·
维护者通常 1 天内回复
-
Y-axis tooltip hides near the bottom of the plot while the y crosshair stays visible可能已有人在做 @lazerg 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 82/100
apexcharts/apexcharts.js#5449 ·
维护者通常 3 天内回复