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

Đang mở Phù hợp với người mới
#5,546 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
65/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
build-system, security

Hướng nghiên cứu

Bắt đầu từ src/fetch và chạy uv lock --upgrade-package soupsieve để làm mới src/fetch/uv.lock. Nếu gói kéo soupsieve vào đang giới hạn nó dưới 4.0.0, thay vào đó hãy thêm mục constraint-dependencies dưới [tool.uv] trong src/fetch/pyproject.toml. Hoàn thành khi lock ghi nhận soupsieve 4.0.0 trở lên và node scripts/dependabot-alerts.mjs --dry-run trên nhánh báo rằng lỗ hổng đã được khắc phục.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
92k
Fork
12k
Merge trung bình
3 giờ 12 phút
Pull request đã merge (30 ngày)
174

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của modelcontextprotocol/servers

Tất cả issue của modelcontextprotocol/servers

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.