Update npm package nanoid to v3.3.18 [SECURITY] - #9221
Update npm package nanoid to v3.3.18 [SECURITY]#9221hash-dependencies[bot] wants to merge 1 commit into
nanoid to v3.3.18 [SECURITY]#9221Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
PR SummaryCursor Bugbot is generating a summary for commit 078b80c. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 078b80c. Configure here.
| "md5": "2.3.0", | ||
| "mime-types": "2.1.35", | ||
| "nanoid": "3.3.17", | ||
| "nanoid": "3.3.18", |
There was a problem hiding this comment.
Lockfile omits security bump
High Severity
package.json bumps nanoid to 3.3.18, but yarn.lock still pins @apps/hash-api to nanoid@3.3.17 and keeps an exact nanoid@npm:3.3.17 resolution. With Yarn 4 immutable installs, CI fails on the mismatch; otherwise the vulnerable direct dependency remains installed, so the GHSA-2v37-7h3g-55p8 fix does not take effect for hash-api.
Reviewed by Cursor Bugbot for commit 078b80c. Configure here.


This PR contains the following updates:
3.3.17→3.3.18nanoid: custom generators can loop indefinitely when size is zero
CVE-2026-67213 / GHSA-2v37-7h3g-55p8
More information
Details
nanoid (Nano ID) before 5.1.6 contains an infinite loop in the customAlphabet and customRandom functions. When these functions are configured with a size of 0, the internal generation loop never satisfies its exit condition and spins indefinitely, hanging the calling thread. An application that passes an unvalidated, attacker-controlled size of 0 to these functions is exposed to a denial-of-service condition.
Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
ai/nanoid (nanoid)
v3.3.18Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.