Skip to content

CVE-2019-20149 Validation Bypass in kind-of

HighCVSS 7.5 EPSS 2.3%
Published
Updated
Exploit status
No public exploit known

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 products

ProductAffected versionsFixed in
npm kind-of(npm) >= 6.0.0, < 6.0.3 6.0.3
debian/node-kind-of(Debian:12) < 6.0.3+dfsg-1 6.0.3+dfsg-1
debian/node-kind-of(Debian:13) < 6.0.3+dfsg-1 6.0.3+dfsg-1
debian/node-kind-of(Debian:14) < 6.0.3+dfsg-1 6.0.3+dfsg-1
kind-of project kind-of = 6.0.2 No fix listed

References