Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Anirudh Anand

#24441of 53,633
9.8Total CVSS
Vulnerabilities · 1
PT-2020-19732
9.8
2020-08-21
Npm · Safe-Eval · CVE-2020-7710
**Name of the Vulnerable Software and Affected Versions** safe-eval versions all **Description** The issue allows an attacker to run arbitrary commands on the host machine due to a lack of restriction on access to the main context through Error objects. This can lead to Remote Code Execution. An example exploit involves evaluating a payload that manipulates the Error object's prototype and stack property to execute arbitrary code, such as printing the contents of `process.env`. **Recommendations** For all versions of safe-eval, consider using an alternative package until a fix is made available. As a temporary workaround, consider restricting or disabling the use of the safe-eval package to minimize the risk of exploitation.