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-2023-37908 Vulnerability in maven package org.xwiki.rendering:xwiki-rendering-xml
CVE-2020-13973 Vulnerability in maven package com.mikesamuel:json-sanitizer
CVE-2019-11818 Vulnerability in maven package org.opencms:org.opencms.workplace.tools.accounts