fix: cross-spawn 7.1.2 under @modelcontextprotocol/client, for Dependabot alert #6

Merged
AL
16h ago
+4-4

Fixes Dependabot alert #6: cross-spawn 7.0.6, critical, GHSA-ghv9-86vm-4v8m. It allows command injection on Windows when spawning batch files, and is fixed in 7.1.0.

What changes

  • The lockfile takes cross-spawn 7.1.2, the latest, in place of 7.0.6. Nothing else in it changes.
  • No override is needed. Its only user, @modelcontextprotocol/client 2.4.0, asks for ^7.0.5, which takes 7.1.
  • The client is a dev dependency of h5p-mcp and h5p-mcp-app, used by their tests, so no published package carried it.

Tests

  • pnpm install --frozen-lockfile.
  • h5p-mcp: 24 tests, and h5p-mcp-app: 33. Their tests start the servers through the client, which spawns them with cross-spawn.

Release: none.


Summary by cubic

Updates cross-spawn from 7.0.6 to 7.1.2 to fix Dependabot alert #6 (GHSA-ghv9-86vm-4v8m), a critical command injection vulnerability on Windows that was fixed in 7.1.0.

  • Only the lockfile changes; @modelcontextprotocol/client 2.4.0 accepts ^7.0.5, so no override is needed.
  • The client is a dev dependency of both packages and is only used in tests, so no published package carries the vulnerable version.