CVE-2019-10805 Exposure of Resource to Wrong Sphere in valib

High 7.5 Published Updated

Attackers can bypass validation checks in the valib library by tampering with internal properties of crafted JavaScript objects.

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

What is CVE-2019-10805?

CVE-2019-10805 is a high-severity vulnerability in valib, published on 28 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

valib through 2.0.0 allows Internal Property Tampering. A maliciously crafted JavaScript object can bypass several inspection functions provided by valib. Valib uses a built-in function (hasOwnProperty) from the unsafe user-input to examine an object. It is possible for a crafted payload to overwrite this function to manipulate the inspection results to bypass security checks.

Weakness: CWE-668

Which versions are affected by CVE-2019-10805?

2 open source packages ship an affected version, including valib. It affects 1 product.

PackageAffectedFixed in
valib npmAll versions to 2.0.0None
valib npmAll versions to 2.0.0None

Products include Sideralis Valib.js.

How do I fix CVE-2019-10805?

No fix has been published for CVE-2019-10805 yet. Limit exposure of the affected software until one is available.

Is CVE-2019-10805 being exploited?

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

Sources

Also known as GHSA-pmpr-vc5q-h3jw, SNYK-JS-VALIB-559015.

Is CVE-2019-10805 in your software?

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

Check your SBOMs for free