deep-get-set@0.1.1 vulnerabilities

Set and get values on objects via dot-notation strings.

Direct Vulnerabilities

Known vulnerabilities in the deep-get-set 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

deep-get-set is a Set and get values on objects via dot-notation strings.

Affected versions of this package are vulnerable to Prototype Pollution via the 'deep' function.

Note: This vulnerability derives from an incomplete fix of CVE-2020-7715

How to fix Prototype Pollution?

Upgrade deep-get-set to version 1.1.2 or higher.

<1.1.2
  • H
Prototype Pollution

deep-get-set is a Set and get values on objects via dot-notation strings.

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

POC:

const deep = require('deep-get-set');
deep({}, ['__proto__', 'polluted'], true);
console.log(polluted);

How to fix Prototype Pollution?

Upgrade deep-get-set to version 1.1.1 or higher.

<1.1.1