~ / search / GHSA-pmpr-vc5q-h3jw

GHSA-pmpr-vc5q-h3jw

Exposure of Resource to Wrong Sphere in valib

Source: GitHub Advisory Database (reviewed) Moderate CVE-2019-10805

Packages

EcosystemPackageAffectedFixed in
npm valib <= 2.0.0 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.