Skip to content

Update dependency nanoid to v3.3.8 [SECURITY] - #44

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

Update dependency nanoid to v3.3.8 [SECURITY]#44
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-nanoid-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Dec 10, 2024

Copy link
Copy Markdown

This PR contains the following updates:

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

v3.3.7

Compare Source

  • Fixed node16 TypeScript support (by Saadi Myftija).

v3.3.6

Compare Source

  • Fixed package.

v3.3.5

Compare Source

  • Backport funding information.

Configuration

📅 Schedule: (in timezone Europe/Oslo)

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

🚦 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.


  • 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 added the security label Dec 10, 2024
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from af6fac7 to e2182d6 Compare October 10, 2025 14:07
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from e2182d6 to d919f3f Compare October 21, 2025 19:55
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from d919f3f to 69ac8dd Compare November 10, 2025 21:42
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 69ac8dd to 9c322dc Compare November 18, 2025 13:34
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 9c322dc to 64b4be3 Compare December 3, 2025 16:16
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 64b4be3 to 99a65c1 Compare December 31, 2025 18:35
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 99a65c1 to 014a6e8 Compare January 8, 2026 21:11
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 014a6e8 to 6435e9b Compare January 19, 2026 20:31
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 6435e9b to 5fd74ce Compare February 2, 2026 15:40
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch 2 times, most recently from 43ecaba to 8b66a0d Compare February 17, 2026 17:43
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 8b66a0d to 73ea944 Compare March 5, 2026 16:40
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 73ea944 to c6e4a31 Compare March 13, 2026 12:35
@renovate renovate Bot changed the title Update dependency nanoid to v3.3.8 [SECURITY] 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 02:42
@renovate renovate Bot changed the title Update dependency nanoid to v3.3.8 [SECURITY] - autoclosed 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 3 times, most recently from 7d20440 to e1bddae Compare April 1, 2026 15:49
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from e1bddae to b2a281d Compare April 8, 2026 15:55
@renovate renovate Bot changed the title Update dependency nanoid to v3.3.8 [SECURITY] Update dependency nanoid to v3.3.8 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update dependency nanoid to v3.3.8 [SECURITY] - autoclosed 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 3 times, most recently from 8dbe318 to fea7154 Compare April 29, 2026 17:52
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch 2 times, most recently from a259e0e to 5e31e5b Compare May 18, 2026 13:32
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch 2 times, most recently from 1a5b329 to 13bef38 Compare June 2, 2026 00:00
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 13bef38 to bb63197 Compare June 11, 2026 10:06
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch 2 times, most recently from da839e2 to c8285da Compare July 17, 2026 03:14
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch 2 times, most recently from 36f6a98 to a698af4 Compare July 24, 2026 22:49
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from a698af4 to 919b5e7 Compare July 30, 2026 19:18
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 919b5e7 to 280d45e Compare August 12, 2026 02:52
@renovate
renovate Bot force-pushed the renovate/npm-nanoid-vulnerability branch from 280d45e to 1008655 Compare August 16, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants