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

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

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

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

評価

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

調査の方向性

src/fetch で作業を始め、uv lock --upgrade-package soupsieve を実行して src/fetch/uv.lock を更新してください。soupsieve を取り込んでいるパッケージがそれを 4.0.0 未満に制限している場合は、代わりに src/fetch/pyproject.toml の [tool.uv] の下に constraint-dependencies エントリを追加してください。lock に soupsieve 4.0.0 以降が記録され、ブランチ上の node scripts/dependabot-alerts.mjs --dry-run が露出の解消を報告したら完了です。

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

説明

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.

主要言語
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 を短くまとめたダイジェスト。