En bref
- CVE-2024-55565 est une vulnérabilité MOYENNE (CVSS 4.3) touchant nanoid.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 0.66%, plus élevée que 52.0% des vulnérabilités.
- Correctif : mettre à jour vers 5.0.9, 3.3.8 ou plus récent.
| Package | Affected versions | Patched versions |
|---|
| nanoid npm | ≥ 4.0.0, < 5.0.9< 3.3.8
| 5.0.93.3.8
|
Description
When nanoid is called with a fractional value, there were a number of undesirable effects:
- in browser and non-secure, the code infinite loops on while (size--)
- in node, the value of poolOffset becomes fractional, causing calls to nanoid to return zeroes until the pool is next filled
- 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.
NVD description
nanoid (aka Nano ID) before 5.0.9 mishandles non-integer values. 3.3.8 is also a fixed version.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free