Em resumo
- CVE-2024-55565 é uma vulnerabilidade MÉDIO (CVSS 4.3) que afeta nanoid.
- Chance de exploração nos próximos 30 dias (EPSS): 0.66%, maior que 52.0% das vulnerabilidades.
- Correção: atualize para 5.0.9, 3.3.8 ou posterior.
| 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