CVE-2022-25904
safe-eval vulnerable to Prototype Pollution
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | safe-eval | no fix listed |