CVE-2022-25904

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
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

Configuration 1 (hide)

cpe:2.3:a:safe-eval_project:safe-eval:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 06:53

Type Values Removed Values Added
References () https://github.com/hacksparrow/safe-eval/issues/26 - Exploit, Issue Tracking, Third Party Advisory () https://github.com/hacksparrow/safe-eval/issues/26 - Exploit, Issue Tracking, Third Party Advisory
References () https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701 - Exploit, Issue Tracking, Third Party Advisory () https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701 - Exploit, Issue Tracking, Third Party Advisory
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 7.5

Information

Published : 2022-12-20 05:15

Updated : 2024-11-21 06:53


NVD link : CVE-2022-25904

Mitre link : CVE-2022-25904

CVE.ORG link : CVE-2022-25904


JSON object : View

Products Affected

safe-eval_project

  • safe-eval
CWE
CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')