VDB
Sign up
HIGH8.2

GHSA-r9w8-h9r3-54w4

devalue: Custom ArrayBuffer revivers can bypass typed-array allocation validation

Quick fix

GHSA-r9w8-h9r3-54w4 — devalue: upgrade to the fixed version with the command below.

npm install devalue@5.9.3

Details

Under very specific circumstances, `parse` could create massive ArrayBuffers with very small input. This required a malformed `ArrayBuffer` custom reviver.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/devalue
Introduced in: 0Fixed in: 5.9.3
Fixnpm install devalue@5.9.3

References