CVEvulnerability
CVE-2019-20149
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2019-12-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-668
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.
Affected configurations
• kind-of project kind-of 6.0.2
Related
Weakness · CWE (1)
- CWE-668 Exposure of Resource to Wrong Sphere weakness
References
- 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
- 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