Katalog CVE

CVE-2026-104845

WysokieCVSS 7.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Streszczenie

Seroval przed wersją 1.6.3 ma podatność w deserializacji TypedArray, która pozwala atakującemu na podanie małego obiektu JSON z dużą wartością length, powodując nadmierną alokację pamięci i wyczerpanie zasobów CPU lub pamięci.

Ocena ryzyka

Organizacja może doświadczyć ataku DoS, jeśli przetwarza niezaufane dane JSON przez Seroval, co może prowadzić do zawieszenia aplikacji lub wyczerpania zasobów.

Rekomendacja

Zaleca się aktualizację Seroval do wersji 1.6.3 lub nowszej oraz ograniczenie przetwarzania niezaufanych danych JSON.

Inne podatności w Seroval

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

Seroval facilitates JS value stringification, including complex structures beyond JSON.stringify capabilities. Prior to 1.6.3, deserializeTypedArray in fromJSON and fromCrossJSON trusts a deserialized source value as an ArrayBuffer and does not bound the serialized element count. An attacker can provide a small untrusted JSON object with a large length value, causing the array-like TypedArray constructor to synchronously allocate the selected number of elements and exhaust CPU or memory while starving the event loop. The offset check does not reject the crafted source because source.byteLength is undefined. DataView reaches a similar unchecked cast but throws rather than allocating, and the issue has no identified confidentiality or integrity impact. This issue is fixed in version 1.6.3.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS