Skip to content

chore(renovate): Security update Update dependency nanoid to v3.3.8 [SECURITY] - #442

Open
renovate[bot] wants to merge 1 commit into
developmentfrom
renovate/npm-nanoid-vulnerability
Open

chore(renovate): Security update Update dependency nanoid to v3.3.8 [SECURITY]#442
renovate[bot] wants to merge 1 commit into
developmentfrom
renovate/npm-nanoid-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Jan 16, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
nanoid 3.3.73.3.8 age confidence

Predictable results in nanoid generation when given non-integer values

CVE-2024-55565 / GHSA-mwcw-c2x4-8c55

More information

Details

When nanoid is called with a fractional value, there were a number of undesirable effects:

  1. in browser and non-secure, the code infinite loops on while (size--)
  2. in node, the value of poolOffset becomes fractional, causing calls to nanoid to return zeroes until the pool is next filled
  3. if the first call in node is a fractional argument, the initial buffer allocation fails with an error

Version 3.3.8 and 5.0.9 are fixed.

Severity

  • CVSS Score: 4.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

ai/nanoid (nanoid)

v3.3.8

Compare Source

  • Fixed a way to break Nano ID by passing non-integer size (by @​myndzi).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented Jan 16, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nexeraid-example-airdrop-v2 Ready Ready Preview, Comment Apr 27, 2026 9:36pm
nexeraid-examples-v2 Ready Ready Preview, Comment Apr 27, 2026 9:36pm
psalion-example Error Error Apr 27, 2026 9:36pm
thea-examples Error Error Apr 27, 2026 9:36pm

Request Review

@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 7b3bbec to 4ee457b Compare March 18, 2025 16:46
@renovate
renovate Bot requested a review from CamCompilot as a code owner March 18, 2025 16:46
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 4ee457b to f5a7974 Compare April 28, 2025 13:40
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from f5a7974 to 2d2134e Compare April 30, 2025 14:49
@renovate renovate Bot changed the title chore(renovate): Security update Update dependency nanoid to v3.3.8 [SECURITY] chore(renovate): Security update Update dependency nanoid to v3.3.8 [SECURITY] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate
renovate Bot deleted the renovate/npm-nanoid-vulnerability branch March 27, 2026 00:45
@renovate renovate Bot changed the title chore(renovate): Security update Update dependency nanoid to v3.3.8 [SECURITY] - autoclosed chore(renovate): Security update Update dependency nanoid to v3.3.8 [SECURITY] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch 2 times, most recently from 2d2134e to 02f8bb2 Compare March 30, 2026 20:49
@renovate renovate Bot changed the title chore(renovate): Security update Update dependency nanoid to v3.3.8 [SECURITY] chore(renovate): Security update Update dependency nanoid to v3.3.8 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
…SECURITY]

See associated pull request for more information.
@renovate renovate Bot changed the title chore(renovate): Security update Update dependency nanoid to v3.3.8 [SECURITY] - autoclosed chore(renovate): Security update Update dependency nanoid to v3.3.8 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch 2 times, most recently from 02f8bb2 to 17d134d Compare April 27, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renovate-bot Renovate PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants