VDB
Sign up
MEDIUM6.3

GHSA-cfw5-2vxh-hr84

devalue has prototype pollution in devalue.parse and devalue.unflatten

Quick fix

GHSA-cfw5-2vxh-hr84 — devalue: upgrade to the fixed version with the command below.

npm install devalue@5.6.4

Details

In devalue v5.6.3, `devalue.parse` and `devalue.unflatten` were susceptible to prototype pollution via maliciously crafted payloads. Successful exploitation could lead to Denial of Service (DoS) or type confusion.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References