All versions of package safe-eval are vulnerable to Prototype Pollution which allows an attacker to add or modify properties of the Object.prototype.Consolidate when using the function safeEval. This is because the function uses vm variable, leading an attacker to modify properties of the Object.prototype.
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
Link | Tags |
---|---|
https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701 | issue tracking exploit third party advisory |
https://github.com/hacksparrow/safe-eval/issues/26 | issue tracking exploit third party advisory |