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.
References
Link Resource
https://github.com/jonschlinkert/kind-of/issues/30 Exploit Issue Tracking Third Party Advisory
https://github.com/jonschlinkert/kind-of/pull/31 Patch Third Party Advisory
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2019-12-30T18:25:10

Updated: 2019-12-30T18:25:10

Reserved: 2019-12-30T00:00:00


Link: CVE-2019-20149

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2019-12-30T19:15:11.910

Modified: 2020-08-24T17:37:01.140


Link: CVE-2019-20149

JSON object: View

cve-icon Redhat Information

No data.

CWE