@irrelon/path@4.6.8 vulnerabilities

A powerful JSON path processor. Allows you to drill into and manipulate JSON objects with a simple dot-delimited path format e.g. "obj.name".

Direct Vulnerabilities

Known vulnerabilities in the @irrelon/path 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

@irrelon/path is an A powerful JSON path processor. Allows you to drill into and manipulate JSON objects with a simple dot-delimited path format e.g. "obj.name".

Affected versions of this package are vulnerable to Prototype Pollution via the set, unSet, pushVal and pullVal functions.

POC:

const path = require('@irrelon/path');
path.set({}, '__proto__.polluted', true);
console.log(polluted);

How to fix Prototype Pollution?

Upgrade @irrelon/path to version 4.7.0 or higher.

<4.7.0