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

Ouverte
#3,000 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
30/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
typescript
Domaine
devops, security

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
TypeScript
Étoiles
11.3k
Forks
1.6k
Merge moyen
2 h 31 min
PR mergées (30 j)
118

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de modelcontextprotocol/inspector

Toutes les issues de modelcontextprotocol/inspector

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.