org.webjars.npm:shvl@1.3.1 vulnerabilities

  • latest version

    1.3.1

  • first published

    6 years ago

  • latest version published

    6 years ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:shvl 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
    • H
    Prototype Pollution

    org.webjars.npm:shvl is a Get and set dot-notated properties within an object

    Affected versions of this package are vulnerable to Prototype Pollution due to an incomplete fix not protecting against the constructor.prototype vector.

    POC

    var shvl = require("shvl")
    let obj = {}
    console.log("Before: " + {}.polluted)
    shvl.set(obj, 'constructor.prototype.polluted', 'Polluted')
    console.log("After: " + {}.polluted)
    

    How to fix Prototype Pollution?

    There is no fixed version for org.webjars.npm:shvl.

    [0,)
    • H
    Prototype Pollution

    org.webjars.npm:shvl is a Get and set dot-notated properties within an object

    Affected versions of this package are vulnerable to Prototype Pollution. It allows an attacker to cause a denial of service and may lead to remote code execution.

    How to fix Prototype Pollution?

    There is no fixed version for org.webjars.npm:shvl.

    [0,)