Description
ctorName in index.js in kind-of v6.0.2 allows external user input to overwrite certain internal attributes via a conflicting name, as demonstrated by 'constructor': {'name':'Symbol'}. Hence, a crafted payload can overwrite this builtin attribute to manipulate the type detection result.
Remediation
References
https://github.com/jonschlinkert/kind-of/issues/30
https://github.com/jonschlinkert/kind-of/pull/31
Related Vulnerabilities
CVE-2021-23397 Vulnerability in npm package @ianwalter/merge
CVE-2020-14968 Vulnerability in maven package org.webjars.npm:jsrsasign
CVE-2020-7793 Vulnerability in maven package org.webjars.bowergithub.faisalman:ua-parser-js
CVE-2023-34660 Vulnerability in maven package org.jeecgframework.boot:jeecg-boot-parent
CVE-2020-7713 Vulnerability in npm package arr-flatten-unflatten