jpv
Affected
- introduced
0, fixed2.1.1(semver)
Fixed versions
2.1.1
Fix
- Fixed version
2.1.1npm install [email protected]
Advisory
Also known as: CVE-2019-19507
Validation bypass is possible in Json Pattern Validator
In jpv (aka Json Pattern Validator) before 2.1.1, compareCommon() can be bypassed because certain internal attributes can be overwritten via a conflicting name, as demonstrated by 'constructor': {'name':'Array'}. This affects validate(). Hence, a crafted payload can overwrite this builtin attribute to manipulate the type detection result.
Medium Basis: The source's own band: MODERATE
0, fixed 2.1.1 (semver)2.1.1
2.1.1npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0