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'}. 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
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
Configurations

Configuration 1 (hide)

cpe:2.3:a:kind-of_project:kind-of:6.0.2:*:*:*:*:*:*:*

History

21 Nov 2024, 04:38

Type Values Removed Values Added
References () https://github.com/jonschlinkert/kind-of/issues/30 - Exploit, Issue Tracking, Third Party Advisory () https://github.com/jonschlinkert/kind-of/issues/30 - Exploit, Issue Tracking, Third Party Advisory
References () https://github.com/jonschlinkert/kind-of/pull/31 - Patch, Third Party Advisory () https://github.com/jonschlinkert/kind-of/pull/31 - Patch, Third Party Advisory

Information

Published : 2019-12-30 19:15

Updated : 2024-11-21 04:38


NVD link : CVE-2019-20149

Mitre link : CVE-2019-20149

CVE.ORG link : CVE-2019-20149


JSON object : View

Products Affected

kind-of_project

  • kind-of
CWE
CWE-668

Exposure of Resource to Wrong Sphere