Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Json Pattern Validator Project | Json Pattern Validator | < 2.1.1 |
Related Weaknesses (CWE)
References
- https://github.com/manvel-khnkoyan/jpv/issues/6ExploitIssue TrackingThird Party Advisory
- https://www.npmjs.com/package/jpvProduct
- https://github.com/manvel-khnkoyan/jpv/issues/6ExploitIssue TrackingThird Party Advisory
- https://www.npmjs.com/package/jpvProduct
FAQ
What is CVE-2019-19507?
CVE-2019-19507 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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': {'nam...
How severe is CVE-2019-19507?
CVE-2019-19507 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-19507?
Check the references section above for vendor advisories and patch information. Affected products include: Json Pattern Validator Project Json Pattern Validator.