safe-eval vulnerable to Prototype Pollution
Critical severity
GitHub Reviewed
Published
Dec 20, 2022
to the GitHub Advisory Database
•
Updated Feb 2, 2023
Description
Published by the National Vulnerability Database
Dec 20, 2022
Published to the GitHub Advisory Database
Dec 20, 2022
Reviewed
Dec 20, 2022
Last updated
Feb 2, 2023
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