GitHub Advisoryadvisory · npm
GHSA-pmpr-vc5q-h3jw Exposure of Resource to Wrong Sphere in valib
MEDIUM
Official page ↗
- Aliases
- CVE-2019-10805
- Ecosystem
- npm
- Packages
- valib
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-668
- Reviewed
- 2021-04-09
Affected packages
• npm valib: <= 2.0.0 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2019-10805 valib through 2.0.0 allows Internal Property Tampering. vulnerability
Weakness · CWE (1)
- CWE-668 Exposure of Resource to Wrong Sphere weakness