dot-notes@2.1.0 vulnerabilities

Two way conversions between objects and dot/bracket notation

Direct Vulnerabilities

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

dot-notes is a Two way conversions between objects and dot/bracket notation

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

POC:

const dots = require('dot-notes');
dots.create({}, '__proto__.polluted', true);
console.log(polluted);

How to fix Prototype Pollution?

Upgrade dot-notes to version 3.2.1 or higher.

<3.2.1