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

    5 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the irrelon-path package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    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