CVE-2019-20149
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'}.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.34%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS
- 2.34% probability · 83th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-668
- Affected
- kind-of project/kind-of
- Source
- cve@mitre.org
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.