irrelon-path@2.0.4 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".

  • latest version

    4.7.0

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    4 years ago

  • licenses detected

  • Direct Vulnerabilities

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