Skip to content

chore(deps): update dependency nanoid to v5.0.9 [security]#74

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

chore(deps): update dependency nanoid to v5.0.9 [security]#74
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-nanoid-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 10, 2024

This PR contains the following updates:

Package Change Age Confidence
nanoid 5.0.75.0.9 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)

v5.0.9

Compare Source

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

v5.0.8

Compare Source


Configuration

📅 Schedule: (in timezone America/Los_Angeles)

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

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

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.


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

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

@renovate renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 1a09fe6 to 9b6084a Compare March 3, 2025 16:46
@renovate renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch 2 times, most recently from c8af075 to 3fac1b5 Compare March 17, 2025 13:24
@renovate renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 3fac1b5 to 15624f9 Compare April 1, 2025 11:14
@renovate renovate Bot changed the title fix(deps): update dependency nanoid to v5.0.9 [security] chore(deps): update dependency nanoid to v5.0.9 [security] Sep 25, 2025
@renovate renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 15624f9 to 92d1679 Compare September 25, 2025 13:57
@renovate renovate Bot changed the title chore(deps): update dependency nanoid to v5.0.9 [security] chore(deps): update dependency nanoid to v5.0.9 [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 01:54
@renovate renovate Bot changed the title chore(deps): update dependency nanoid to v5.0.9 [security] - autoclosed chore(deps): update dependency nanoid to v5.0.9 [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 92d1679 to 0563d33 Compare March 30, 2026 22:10
@renovate renovate Bot changed the title chore(deps): update dependency nanoid to v5.0.9 [security] chore(deps): update dependency nanoid to v5.0.9 [security] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title chore(deps): update dependency nanoid to v5.0.9 [security] - autoclosed chore(deps): update dependency nanoid to v5.0.9 [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 0563d33 to d4fe81b Compare April 27, 2026 23:13
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.

0 participants