{"id":"CVE-2019-20149","published":"2019-12-30T18:25:10Z","modified":"2024-08-05T02:39:08Z","title":"ctorName in index.js in kind-of v6.0.2 allows external user input to overwrite certain internal attributes via a…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02342,"percentile":0.84034,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/jonschlinkert/kind-of/issues/30","tags":["x_refsource_MISC"]},{"url":"https://github.com/jonschlinkert/kind-of/pull/31","tags":["x_refsource_MISC"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":16.81}]},"affected":[{"ecosystem":"npm","package":"kind-of","vulnerableRanges":[">=6.0.0, <6.0.3"],"patched":["6.0.3"],"from":["GHSA-6c8f-qphg-qjgp"],"provenance":"source"}],"summary":{"text":"The flaw is in the ctorName function in index.js of the kind-of package, version 6.0.2, which is a JavaScript type-detection library. External user input can overwrite certain internal attributes through a conflicting name, such as a constructor property set to an object with a name field, so that a crafted payload can alter the library's type detection result.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:13Z"},"euvd":{"id":"EUVD-2020-0335","exploited":false,"provenance":"source"}}