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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.88%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.88% probability · 57th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-1321
- Affected
- safe-eval project/safe-eval
- Source
- report@snyk.io
References
- https://github.com/hacksparrow/safe-eval/issues/26Exploit, Issue Tracking, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701Exploit, Issue Tracking, Third Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/26Exploit, Issue Tracking, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701Exploit, Issue Tracking, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.