CVE-2019-20149 Validation Bypass in kind-of

High 7.5 Published Updated

Attackers can manipulate type detection results in kind-of by overwriting internal attributes, potentially bypassing security checks relying on this library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-20149?

CVE-2019-20149 is a high-severity vulnerability in n/a, published on 30 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-668

Which versions are affected by CVE-2019-20149?

2 open source packages ship an affected version, including kind-of. It affects 1 product.

PackageAffectedFixed in
kind-of npmFrom 6.0.06.0.3
kind-of npmFrom 6.0.06.0.3

Products include Kind-of Project Kind-Of.

How do I fix CVE-2019-20149?

Upgrade kind-of to 6.0.3 or later.

Is CVE-2019-20149 being exploited?

There is no known exploitation of CVE-2019-20149 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as AZL-44298, AZL-47271, DEBIAN-CVE-2019-20149, GHSA-6c8f-qphg-qjgp, UBUNTU-CVE-2019-20149.

Is CVE-2019-20149 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free