Description
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.
Remediation
References
https://github.com/lukeed/dset/blob/master/src/merge.js%23L9
https://github.com/lukeed/dset/pull/38
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974
https://snyk.io/vuln/SNYK-JS-DSET-2330881
Related Vulnerabilities
CVE-2021-39167 Vulnerability in npm package @openzeppelin/contracts
CVE-2020-6427 Vulnerability in maven package org.webjars.npm:electron
CVE-2018-20677 Vulnerability in maven package org.webjars.bowergithub.angular-ui:bootstrap
CVE-2021-29262 Vulnerability in maven package org.apache.solr:solr-core
CVE-2020-35491 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind