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.
References
Link | Resource |
---|---|
https://github.com/hacksparrow/safe-eval/issues/26 | Exploit Issue Tracking Third Party Advisory |
https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701 | Exploit Issue Tracking Third Party Advisory |
Configurations
Information
Published : 2022-12-19 21:15
Updated : 2022-12-29 10:43
NVD link : CVE-2022-25904
Mitre link : CVE-2022-25904
JSON object : View
CWE
CWE-1321
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Products Affected
safe-eval_project
- safe-eval