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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/jonschlinkert/kind-of/issues/30Exploit, Issue Tracking, Third Party Advisory
- https://github.com/jonschlinkert/kind-of/pull/31Patch, Third Party Advisory
- https://github.com/jonschlinkert/kind-of/issues/30Exploit, Issue Tracking, Third Party Advisory
- https://github.com/jonschlinkert/kind-of/pull/31Patch, Third Party Advisory
Timeline
- Published
- Dec 30, 2019
- Last modified
- Jun 17, 2026
- NVD status
- Modified