chore(deps): bump `soupsieve` to `4.0.0` in `src/fetch/uv.lock` (3 advisories)

Aperta Adatta ai principianti
#5,546 2 commenti 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
65/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Inizia da src/fetch ed esegui uv lock --upgrade-package soupsieve per aggiornare src/fetch/uv.lock. Se il pacchetto che porta dentro soupsieve lo limita a una versione inferiore alla 4.0.0, aggiungi invece la voce constraint-dependencies sotto [tool.uv] in src/fetch/pyproject.toml. È completato quando il lock registra soupsieve 4.0.0 o successiva e node scripts/dependabot-alerts.mjs --dry-run sul branch segnala che l'esposizione è stata eliminata.

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

Descrizione

chore dependencies server-fetch v2

Filed automatically from 3 open Dependabot alerts by the daily alert sweep (#4874). The fix is written by hand against v2/main.

Package soupsieve (pip)
Manifest src/fetch/uv.lock
Vulnerable on v2/main 2.10
Bump to 4.0.0: the lowest listed patched version that no range below covers
Scope runtime
Highest severity high

Advisories

GHSA CVE Severity Vulnerable range Fixed in Summary
GHSA-6655-6qjp-jx7x CVE-2026-126191 high <= 2.10 3.0.2 Soup Sieve: Exponential ReDoS in selector compilation via \9-run in CSS_ESCAPES/IDENTIFIER
GHSA-7g44-g9rc-x53w CVE-2026-126193 medium >= 0.4, <= 2.10 3.0.2 Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack
GHSA-mmhr-3c5m-f64f CVE-2026-126190 high < 4.0.0 4.0.0 Soup Sieve: Polynomial-time denial of service in the descendant combinator

Fix

Run uv lock --upgrade-package soupsieve in src/fetch and commit the refreshed uv.lock. soupsieve is transitive here, so no declared range names it. If the package that pulls it in caps it below 4.0.0, add constraint-dependencies = ["soupsieve>=4.0.0"] under [tool.uv] in src/fetch/pyproject.toml instead.

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
soupsieve 2.10

[!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.