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

Aberta Para iniciantes
#5,545 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
68/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
node.js, typescript

Direção de pesquisa

Comece pelo package.json e pelo package-lock.json da raiz, onde node_modules/@hono/node-server está travado na 2.1.4, e leia a seção Dependencies de AGENTS.md. Adicione uma entrada overrides que fixe @hono/node-server em >=2.1.6, depois regenere o lockfile e confirme que a cópia travada é a 2.1.6 ou posterior. Está pronto quando node scripts/dependabot-alerts.mjs --dry-run na branch informar que os dois advisories foram resolvidos.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
92k
Forks
12k
Merge médio
3h 12min
PRs com merge (30d)
174

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de modelcontextprotocol/servers

Todas as issues de modelcontextprotocol/servers

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.