sveltejs/devalue · Security
devalue: Custom ArrayBuffer revivers can bypass typed-array allocation validation
- GHSA ID
- GHSA-r9w8-h9r3-54w4
- Severity
- high
- Published
- Updated
- CVSS v4
- 8.2 · CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
Under very specific circumstances, parse could create massive ArrayBuffers with very small input. This required a malformed ArrayBuffer custom reviver.
CWEs
- CWE-789 · Memory Allocation with Excessive Size Value
- CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')