Skip to main content
← All vulnerabilities
CVE-2019-20149GHSA-6C8F-QPHG-QJGP

ctorName in index.js in kind-of v6.0.2 allows external user input to overwrite certain internal attributes via a conflicting name, as demons

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.3
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • kind-ofnpm

    From 6.0.0 · fixed in 6.0.3

References 3

GitHub · jonschlinkert/kind-of

GitHub · mrknowledgshare/testing_cve-2019-20149