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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:kind-of_project:kind-of:6.0.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.2"
},
{
"last_affected": "6.0.2"
}
],
"source": "CPE_STRING"
}
]
}