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.
Remediation
References
https://www.npmjs.com/package/valib
https://snyk.io/vuln/SNYK-JS-VALIB-559015
Related Vulnerabilities
CVE-2021-21388 Vulnerability in npm package systeminformation
CVE-2020-7713 Vulnerability in npm package arr-flatten-unflatten
CVE-2017-16010 Vulnerability in npm package i18next
CVE-2022-29172 Vulnerability in npm package auth0-lock
CVE-2012-3451 Vulnerability in maven package org.apache.cxf:cxf-rt-bindings-soap