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

Aperta Adatta ai principianti
#5,545 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
node.js, typescript

Direzione di ricerca

Inizia dal package.json e dal package-lock.json alla radice, dove node_modules/@hono/node-server è bloccato alla 2.1.4, e leggi la sezione Dependencies di AGENTS.md. Aggiungi una voce overrides che fissa @hono/node-server a >=2.1.6, poi rigenera il lockfile e conferma che la copia bloccata è la 2.1.6 o successiva. È completato quando node scripts/dependabot-alerts.mjs --dry-run sul branch segnala che entrambi gli advisory sono risolti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
92k
Fork
12k
Merge medio
3h 12m
PR unite (30g)
174

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di modelcontextprotocol/servers

Tutte le issue di modelcontextprotocol/servers

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.