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 天內回覆