CVE-2019-10806 Improperly Controlled Modification of Dynamically-Determined Object Attributes in vega-util

Medium 4.3 Published Updated

Attackers can manipulate the Object prototype via vega.mergeConfig, potentially leading to arbitrary code execution in applications using this JavaScript library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-10806?

CVE-2019-10806 is a medium-severity code injection vulnerability in vega-util, published on 9 Mar 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

vega-util prior to 1.13.1 allows manipulation of object prototype. The 'vega.mergeConfig' method within vega-util could be tricked into adding or modifying properties of the Object.prototype.

Weakness: CWE-1321

Which versions are affected by CVE-2019-10806?

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

PackageAffectedFixed in
vega-util npmAll versions1.13.1
vega-util npmAll versions1.13.1

Products include Vega Project Vega.

How do I fix CVE-2019-10806?

Upgrade vega-util to 1.13.1 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2019-10806 being exploited?

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

Sources

Also known as GHSA-6hwh-rqwf-cxxr, SNYK-JS-VEGAUTIL-559223.

Is CVE-2019-10806 in your software?

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

Check your SBOMs for free