safe-flat@2.0.1 vulnerabilities

Safely flatten a nested JavaScript object.

  • latest version

    2.1.0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the safe-flat 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
    • M
    Prototype Pollution

    safe-flat is a Safely flatten a nested JavaScript object.

    Affected versions of this package are vulnerable to Prototype Pollution due to improper validation of the obj argument of the unflatten() function.

    How to fix Prototype Pollution?

    Upgrade safe-flat to version 2.0.2 or higher.

    >=2.0.0 <2.0.2