All versions of this module are vulnerable to Prototype Pollution via updateState
. The user's supplied value find its path to the vulnerable function updateStateInternal
recursively copy all child properties in the source "user's supplied value" to the destination without proper security validation.
An attacker can exploit this vulnerability by manipulate the prototype of Object by modify built-in Object.prototype through reachable special properties __proto__
or constructor.prototype
. Potentially leading to the alteration of behavior of all objects and consequently, the attacker escalate the attack to denial of service, remote code execution or privilege escalation.
updateStateInternal (nora-firebase-common/build/update-state.js:54)
Module.updateState (nora-firebase-common/build/update-state.js:6)