Skip to content
OpenAdvisories
High · 7.5 CVE-2019-10805 EUVD-2021-0853GHSA-pmpr-vc5q-h3jwSNYK-JS-VALIB-559015

Exposure of Resource to Wrong Sphere in valib

Published Feb 28, 2020 · Updated Aug 4, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— valib All versions including 2.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm valib <= 2.0.0 — GHSA-pmpr-vc5q-h3jw

References