ts-deepmerge@1.0.3 vulnerabilities

A TypeScript deep merge function.

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Prototype Pollution

ts-deepmerge is an a deep merge function that automatically infers the return type based on your input, without mutating the source objects.

Affected versions of this package are vulnerable to Prototype Pollution due to missing sanitization of the merge function.

How to fix Prototype Pollution?

Upgrade ts-deepmerge to version 2.0.2 or higher.

<2.0.2