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.
References
Link Resource
https://github.com/manvel-khnkoyan/jpv/issues/6 Exploit Issue Tracking Third Party Advisory
https://www.npmjs.com/package/jpv Product
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2019-12-02T16:17:45

Updated: 2019-12-02T16:17:45

Reserved: 2019-12-02T00:00:00


Link: CVE-2019-19507

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2019-12-02T17:15:13.187

Modified: 2019-12-19T17:42:17.280


Link: CVE-2019-19507

JSON object: View

cve-icon Redhat Information

No data.

CWE