Skip to content

Conversation

@ashergarland
Copy link

@ashergarland ashergarland commented Feb 27, 2020

Fixing security issue with older versions of kind-of
ctorName in index.js in kind-of (v6.0.2 and older) 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.

image

@striezel
Copy link

striezel commented Jul 3, 2021

@jonschlinkert I was just about to create a similar pull request before I saw this one. So is there any chance to get this change merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants