Skip to content

fix(cli): bump undici from 7.16.0 to 7.29.1 (two high-severity advisories) - #2167

Open
0xPlayerOne wants to merge 1 commit into
graphprotocol:mainfrom
0xPlayerOne:fix/bump-undici-7.29.1
Open

0xPlayerOne wants to merge 1 commit into
graphprotocol:mainfrom
0xPlayerOne:fix/bump-undici-7.29.1

Conversation

@0xPlayerOne

Copy link
Copy Markdown

Summary

packages/cli pins undici: 7.16.0, which is affected by two high-severity advisories:

  • GHSA-rfgv-xxqx-mfg5 — Denial of Service via unrequested WebSocket subprotocol (patched in 7.29.1)
  • GHSA-w293-vg96-wgc3 — TLS certificate validation bypass via dropped connect options in BalancedPool (patched in 7.29.1)

This bumps the pin to 7.29.1 and regenerates pnpm-lock.yaml (lockfileVersion 9.0 unchanged).

Motivation

Projects that depend on @graphprotocol/graph-cli transitively inherit the vulnerable undici and have to carry local overrides to pass their own dependency audits (we do, in our CI). Bumping the pin here fixes it for everyone.

Validation

  • pnpm install --lockfile-only completes cleanly; lockfile resolves undici@7.29.1.
  • No API changes between 7.16.0 → 7.29.1 that affect graph-cli's fetch usage (patch releases on the 7.x line).

undici 7.16.0 is vulnerable to two high-severity advisories:
- GHSA-rfgv-xxqx-mfg5: Denial of Service via unrequested WebSocket subprotocol (fixed in 7.29.1)
- GHSA-w293-vg96-wgc3: TLS certificate validation bypass via dropped connect options in BalancedPool (fixed in 7.29.1)

Dependents pinning graph-cli transitively inherit the vulnerable version; we
carry a local override for it today. Lockfile regenerated with pnpm
(lockfileVersion 9.0 unchanged).
@changeset-bot

changeset-bot Bot commented Sep 30, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 877bc39

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant