controlled-merge@1.2.0 vulnerabilities

Merge two simple javascript objects, with controllable logic for conflicts.

  • latest version

    1.3.0

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    4 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the controlled-merge 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

    controlled-merge is an utility function to merge a number of javascript objects into a singular object. It has an optional onConflict functionality that allows you to specify how to handle conflicts of the merge.

    Affected versions of this package are vulnerable to Prototype Pollution. The vulnerability arises as the 'merge()' function does not check for the type of object before assigning a value to the property.

    How to fix Prototype Pollution?

    Upgrade controlled-merge to version 1.3.0 or higher.

    >=1.0.0 <1.3.0