VDB
Sign up
HIGH7.5

GHSA-pmpr-vc5q-h3jw

Exposure of Resource to Wrong Sphere in valib

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/valib
Introduced in: 0

No fixed version published yet for valib (npm). Pin to a known-safe version or switch to an alternative.

References