Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2019-20149 EUVD-2020-0335GHSA-6c8f-qphg-qjgp

Validation Bypass in kind-of

Published Dec 30, 2019 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-kind-of 6.0.3+dfsg-1 —
Debian 13 node-kind-of 6.0.3+dfsg-1 —
Debian 12 node-kind-of 6.0.3+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-kind-of No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery 3.5.0-4 —
Azure Linux 2 (CBL-Mariner) js-jquery 3.5.0-4 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm kind-of >= 6.0.0, < 6.0.3 6.0.3 GHSA-6c8f-qphg-qjgp

Advisories 2

References