safe-flat@2.0.1 vulnerabilities

Safely flatten a nested JavaScript object.

  • latest version

    2.1.0

  • latest non vulnerable version

  • first published

    6 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.

    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
    • 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