NetSight
medium6.5

CVE-2022-25645

Prototype Pollution in dset

Impact

All versions of `dset` prior to 3.1.2 are vulnerable to Prototype Pollution via `dset/merge` mode, as the `dset` function checks for prototype pollution by validating if the top-level path contains `__proto__`, `constructor` or `prototype`. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.

Affected packages

EcosystemPackageAffectedFixed in
npmdset< 3.1.23.1.2
mavenorg.webjars.npm:dset< 3.1.23.1.2

Affected products

VendorProductAffected versions
Dset ProjectDset
All versions

Weakness classification

References