Advisory

GHSA-pmpr-vc5q-h3jw

Also known as: CVE-2019-10805, SNYK-JS-VALIB-559015

Summary

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-04-13 15:21 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

valib

npm · All systems

Affected

  • introduced 0, last affected 2.0.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences