chore(deps): bump `@hono/node-server` to `2.1.6` in `package-lock.json` (2 advisories)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 68/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- node.js, typescript
- 领域
- build-system, security
调研方向
从根目录的 package.json 和 package-lock.json 开始,其中 node_modules/@hono/node-server 被锁定在 2.1.4,然后阅读 AGENTS.md 中的 Dependencies 部分。添加一个 overrides 条目,将 @hono/node-server 固定为 >=2.1.6,然后重新生成 lockfile,并确认锁定的副本为 2.1.6 或更高版本。当分支上的 node scripts/dependabot-alerts.mjs --dry-run 报告两个 advisory 均已清除时,即完成。
由索引模型根据 Issue 内容生成。
描述
Filed automatically from 2 open Dependabot alerts by the daily alert sweep (#4874). The fix is written by hand against v2/main.
| Package | @hono/node-server (npm) |
| Manifest | package-lock.json |
Vulnerable on v2/main |
2.1.4 |
| Bump to | 2.1.6: the lowest listed patched version that no range below covers |
| Scope | runtime |
| Highest severity | medium |
Advisories
| GHSA | CVE | Severity | Vulnerable range | Fixed in | Summary |
|---|---|---|---|---|---|
| GHSA-jpvv-r467-5p4w | CVE-2026-126210 | medium | >= 2.0.0, < 2.1.6 | 2.1.6 | @hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy |
| GHSA-qv5m-9pm6-hqp3 | CVE-2026-126343 | medium | >= 2.0.0, < 2.1.6 | 2.1.6 | @hono/node-server: Unhandled ECONNRESET on the socket during an asynchronous WebSocket upgrade crashes the process |
Fix
Add an overrides entry in the root package.json pinning @hono/node-server to >=2.1.6, for the copies below, which no declared range reaches. Not npm audit fix, which can resolve an advisory by silently downgrading.
Then verify before opening the PR: every locked copy must be outside every range in the Advisories table. node scripts/dependabot-alerts.mjs --dry-run against the branch should report this exposure cleared.
| Vulnerable copy | Version |
|---|---|
node_modules/@hono/node-server |
2.1.4 |
[!NOTE]
The GHSA, CVE, severity, range and summary are the advisory's own, as Dependabot reports them. What this sweep verified againstv2/mainis the installed versions and whether each advisory's range still matches them: GitHub computes alerts from the default branch, so an alert is filed only after that re-check.
- 主要语言
- TypeScript
- 星标
- 92k
- 派生
- 12k
- 平均合并
- 3 小时 12 分钟
- 30 天内合并 PR
- 174
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/servers 的其他 Issue
-
bug server-time v2
难度 2/5 1-3 小时 新手友好度 76/100
modelcontextprotocol/servers#5559 ·
维护者通常 1 天内回复
-
enhancement server-filesystem v2
难度 2/5 1-3 小时 新手友好度 68/100
modelcontextprotocol/servers#5553 · 2 条评论 ·
维护者通常 1 天内回复
-
enhancement server-git v2
难度 1/5 1 小时以内 新手友好度 88/100
modelcontextprotocol/servers#5552 · 2 条评论 ·
维护者通常 1 天内回复
-
chore dependencies server-fetch v2
难度 2/5 1-3 小时 新手友好度 65/100
modelcontextprotocol/servers#5546 · 2 条评论 ·
维护者通常 1 天内回复
-
chore server-everything v2
难度 2/5 1-3 小时 新手友好度 86/100
modelcontextprotocol/servers#5542 · 1 条评论 ·
维护者通常 1 天内回复
查看 modelcontextprotocol/servers 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 95/100
marimo-team/marimo#11949 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 88/100
Monsieur-Nico/textConvert#479 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
router-for-me/Home-Management-Center#232 ·
维护者通常 1 天内回复
-
clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster maturity:stable P3
难度 2/5 1-3 小时 新手友好度 72/100
openclaw/openclaw#200937 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
bug follow-up
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复