Description
Devalue before 5.9.3 contains a validation bypass vulnerability that allows custom ArrayBuffer revivers to skip typed-array allocation checks in the parse function. Attackers can supply very small crafted input processed by a malformed ArrayBuffer reviver to allocate massive ArrayBuffers, causing memory exhaustion and denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sveltejs | devalue | < 5.9.3 | 5.9.3 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | devalue | < 5.9.3 | 5.9.3 | GHSA-r9w8-h9r3-54w4 |
References
- GitHub Security Advisory (GHSA-r9w8-h9r3-54w4) vendor-advisory
- VulnCheck Advisory: Devalue before 5.9.3 Typed-Array Allocation Validation Bypass via parse third-party-advisory