chore(deps): bump `@hono/node-server` to `2.1.6` in `package-lock.json` (2 advisories)

オープン 初心者向け
#5,545 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
node.js, typescript

調査の方向性

ルートの package.json と package-lock.json から始めてください。そこでは node_modules/@hono/node-server が 2.1.4 に固定されています。また AGENTS.md の Dependencies セクションを読んでください。@hono/node-server を >=2.1.6 に固定する overrides エントリを追加し、lockfile を再生成して、ロックされたコピーが 2.1.6 以降であることを確認してください。ブランチ上で node scripts/dependabot-alerts.mjs --dry-run を実行し、両方のアドバイザリが解消されたと報告されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

chore dependencies v2

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 against v2/main is 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分
マージ済み PR(30日)
174

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/servers のほかの issue

modelcontextprotocol/servers の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。