Bump picomatch past GHSA-fc5q-39xc-vjpf (ReDoS) once a patched release exists

未關閉
#3,000 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
30/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
typescript
領域
devops, security

研究方向

Read the repository's release guidance and inspect the package manifests and lockfiles for the six installs listed in the issue. First check whether picomatch has a release outside the vulnerable range; once available, update each install using an admitted range or an override, then run npm audit --audit-level=high across all six installs. Done means every audit is clean without running npm audit fix.

由索引模型根據 Issue 內容生成。

描述

chore v2

Problem

The 2.16.0 release audit (#2999) reports GHSA-fc5q-39xc-vjpf (high): picomatch vulnerable to ReDoS through single-branch repeated extglobs, affecting picomatch <= 4.0.7.

No patched version exists. The advisory's first_patched_version is null, and 4.0.7 is picomatch's latest release, so neither a direct bump nor an overrides entry can resolve it. Per the release skill, it ships with 2.16.0 as a known issue instead of being forced.

Where it reaches us

[email protected] is the only copy in every install that holds one (root, web, cli, mcpdo, tui; launcher has none). Every other package npm audit flags (vite, vitest, tinyglobby, fdir, tsdown, typescript-eslint, Storybook, …) is flagged only through it.

  • Published install: npm ls picomatch --all --omit=dev at the root shows a production path through vite (a root runtime dependency, needed only by --web --dev) → picomatch and tinyglobby → picomatch.
  • Everywhere else it is dev-only tooling.

The globs vite matches come from developer configuration, not from MCP-server or network input, so exposure is low. It is still a high-severity advisory in the shipped tarball's dependency tree.

Why no sweep will file this

There is no open Dependabot alert for it, and the daily security sweep files one issue per bump, so an advisory with no fix produces nothing. This issue is the tracking record.

To do

  • Once picomatch publishes a release outside the vulnerable range, take it in every install: a lockfile update where a declared range already admits it, otherwise an overrides entry. Never npm audit fix (#2058).
  • Confirm npm audit --audit-level=high is clean across all six installs.
主要語言
TypeScript
星號
11.4k
分支
1.6k
平均合併
2 小時 31 分鐘
30 天內合併 PR
118

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

modelcontextprotocol/inspector 的其他 Issue

查看 modelcontextprotocol/inspector 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。