ADVISORIES

GitHub Advisory Database

GHSA-66rh-8fw6-59q6

assign-deep Vulnerable to Prototype Pollution

Details

Versions of assign-deep prior to 1.0.1 and 0.4.8 are vulnerable to Prototype Pollution. The assign function fails to validate which Object properties it updates. This allows attackers to modify the prototype of Object, causing the addition or modification of an existing property on all objects.

Recommendation

Upgrade to versions 1.0.1, 0.4.8, or later.

Affected packages

EcosystemPackageAffected versions
npmassign-deep
All versions before 0.4.8 (fixed in 0.4.8)
npmassign-deep
From 1.0.0 before 1.0.1 (fixed in 1.0.1)

References