Tóm tắt nhanh
- CVE-2024-55565 là lỗ hổng mức TRUNG BÌNH (CVSS 4.3) ảnh hưởng nanoid.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.66%, cao hơn 52.0% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 5.0.9, 3.3.8 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| nanoid npm | ≥ 4.0.0, < 5.0.9< 3.3.8
| 5.0.93.3.8
|
Mô tả
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.
Mô tả của NVD
nanoid (aka Nano ID) before 5.0.9 mishandles non-integer values. 3.3.8 is also a fixed version.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí