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-26870 Vulnerability in maven package org.webjars.npm:dompurify
CVE-2018-3715 Vulnerability in npm package glance
CVE-2019-10742 Vulnerability in maven package org.webjars.bower:axios
CVE-2013-2067 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2023-46242 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore