org.webjars.bower:js-data@2.9.0 vulnerabilities

  • latest version

    2.10.0

  • first published

    10 years ago

  • latest version published

    8 years ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

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

    org.webjars.bower:js-data is a Robust, framework-agnostic in-memory data store.

    Affected versions of this package are vulnerable to Prototype Pollution via the deepFillIn and the set functions. This is an incomplete fix of CVE-2020-28442.

    How to fix Prototype Pollution?

    There is no fixed version for org.webjars.bower:js-data.

    [0,)
    • H
    Prototype Pollution

    org.webjars.bower:js-data is a Robust, framework-agnostic in-memory data store.

    Affected versions of this package are vulnerable to Prototype Pollution via the deepMixIn and deepFillIn functions.

    PoC

    const { utils } = require("js-data");
    const obj = {};
    const source = JSON.parse('{"__proto__":{"polluted":"yes"}}');
    console.log("Before : " + obj.polluted);
    utils.deepMixIn({}, source);
    // utils.deepFillIn({}, source);
    console.log("After : " + obj.polluted);
    

    How to fix Prototype Pollution?

    There is no fixed version for org.webjars.bower:js-data.

    [0,)