Description
Dot diver is a lightweight, powerful, and dependency-free TypeScript utility library that provides types and functions to work with object paths in dot notation. In versions prior to 1.0.2 there is a Prototype Pollution vulnerability in the `setByPath` function which can leads to remote code execution (RCE). This issue has been addressed in commit `98daf567` which has been included in release 1.0.2. Users are advised to upgrade. There are no known workarounds to this vulnerability.
Remediation
References
https://github.com/clickbar/dot-diver/commit/98daf567390d816fd378ec998eefe2e97f293d5a
https://github.com/clickbar/dot-diver/security/advisories/GHSA-9w5f-mw3p-pj47
Related Vulnerabilities
CVE-2020-35149 Vulnerability in npm package rxdb
CVE-2011-2088 Vulnerability in maven package org.apache.struts.xwork:xwork-core
CVE-2023-45133 Vulnerability in maven package org.webjars.npm:babel__traverse
CVE-2015-8862 Vulnerability in npm package mustache
CVE-2014-1904 Vulnerability in maven package org.springframework:spring-webmvc