In short
- CVE-2022-25904 is a CRITICAL (CVSS 9.8) vulnerability affecting safe-eval (safe-eval project), safe-eval.
- Chance of exploitation in the next 30 days (EPSS): 0.94%, higher than 61.2% of all vulnerabilities.
- No patched version is listed yet: follow the vendor's advisory in References.
| Package | Affected versions | Patched versions |
|---|
| safe-eval | ≤ 0.4.1
| No fix yet |
| safe-eval npm | ≤ 0.4.1
| No fix yet |
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.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free