lukeed/dset

lukeed/dset

Releases11
Frequency7 months 3 weeks
Last Release
Stars783
A tiny (197B) utility for safely writing deep Object values~!

CVE History

CVEPublishedCVSS v3CVSS v2
8.2 HIGH

Versions of the package dset before 3.1.4 are vulnerable to Prototype Pollution via the dset function due improper user input sanitization. This vulnerability allows the attacker to inject malicious object property using the built-in Object property __proto__, which is recursively assigned to all the objects in the program.

6.5 MEDIUM6.8 MEDIUM

All versions of package dset 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 protorype. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.

9.8 CRITICAL7.5 HIGH

Prototype pollution vulnerability in 'dset' versions 1.0.0 through 2.0.1 allows attacker to cause a denial of service and may lead to remote code execution.