Skip to content

fix(root): bump nanoid to 3.3.17 via yarn resolution - #9460

Merged
mohammadalfaiyazbitgo merged 1 commit into
masterfrom
manojkumar138/cecho-1893-bump-nanoid-security-fix
Aug 10, 2026
Merged

fix(root): bump nanoid to 3.3.17 via yarn resolution#9460
mohammadalfaiyazbitgo merged 1 commit into
masterfrom
manojkumar138/cecho-1893-bump-nanoid-security-fix

Conversation

@manojkumar138

Copy link
Copy Markdown
Contributor

Summary

Fixes the @bitgo-beta release workflow's OSV vulnerability severity gate failure, seen in this run:

1 of 38 advisory group(s) at or above CVSS 7.0 (HIGH/CRITICAL). Failing the release.
  nanoid@3.3.16  CVSS 8.2  GHSA-2v37-7h3g-55p8

Root cause

GHSA-2v37-7h3g-55p8 / CVE-2026-67213: nanoid's customAlphabet and customRandom loop indefinitely when called with size: 0, causing a DoS. Fixed in nanoid@3.3.17 (3.x line) / 5.1.6 (5.x line). The resolved version in yarn.lock was 3.3.16, one patch behind the fix.

Change

  • Added "nanoid": "3.3.17" to root resolutions in package.json
  • Regenerated yarn.lock — the single nanoid@^3.3.12 entry now resolves to 3.3.17

Cooldown check

3.3.17 was published 2026-08-03, clearing BitGo's 7-day dependency cooldown as of this PR.

Test Plan

  • yarn install completes cleanly, all workspace packages build/link
  • Re-run the OSV severity gate / release workflow to confirm the nanoid finding clears

Ticket: CECHO-1893

🤖 Generated with Claude Code

Add yarn resolution to pin nanoid to 3.3.17, fixing GHSA-2v37-7h3g-55p8
(CVE-2026-67213, CVSS 8.2), a DoS via infinite loop in customAlphabet
and customRandom when called with size 0. Version 3.3.17 is the fixed
release; the previously resolved 3.3.16 was one patch behind.

This was blocking the @bitgo-beta release workflow's OSV vulnerability
severity gate (CVSS >= 7.0 threshold).

Ticket: CECHO-1893
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

CECHO-1893

@manojkumar138
manojkumar138 marked this pull request as ready for review August 10, 2026 10:25
@manojkumar138
manojkumar138 requested a review from a team as a code owner August 10, 2026 10:25
@mohammadalfaiyazbitgo
mohammadalfaiyazbitgo merged commit 291d4d8 into master Aug 10, 2026
25 checks passed
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.

3 participants