set-in@2.0.0 vulnerabilities

set value of nested associative structure given array of keys

Direct Vulnerabilities

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

set-in is a set value of nested associative structure given array of keys

Affected versions of this package are vulnerable to Prototype Pollution via the setIn method, as it allows an attacker to merge object prototypes into it.

Note:
This vulnerability derives from an incomplete fix of CVE-2020-28273

How to fix Prototype Pollution?

Upgrade set-in to version 2.0.3 or higher.

<2.0.3
  • H
Prototype Pollution

set-in is a set value of nested associative structure given array of keys

Affected versions of this package are vulnerable to Prototype Pollution. The setIn method allows attacker to merge object prototypes. This could cause a denial of service and may lead to remote code execution under certain scenarios.

How to fix Prototype Pollution?

Upgrade set-in to version 2.0.1 or higher.

<2.0.1