org.webjars.bower:dot-object@1.5.0 vulnerabilities

  • latest version

    1.5.0

  • first published

    8 years ago

  • latest version published

    8 years ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.bower:dot-object package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Prototype Pollution

    org.webjars.bower:dot-object is a module that makes it possible to transform javascript objects using dot notation.

    Affected versions of this package are vulnerable to Prototype Pollution. The set function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.

    PoC by JHU System Security Lab

    var a = require("dot-object")
    var path = "__proto__";
    var val = {toString:"JHU"}
    a.set(path,val,{},true);
    console.log({}.toString);
    

    How to fix Prototype Pollution?

    There is no fixed version for org.webjars.bower:dot-object.

    [0,)