Prototype Pollution in hoek
hapi hoek node module
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| hoek npm |
|
|
Original description
hoek node module before 4.2.0 and 5.0.x before 5.0.3 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via 'merge' and 'applyToDefaults' functions, which allows a malicious user to modify the prototype of "Object" via __proto__, causing the addition or modification of an existing property that will exist on all objects.
From the CVE record · hackerone