CVE-2019-19507

2019-12-02T17:15:00
ID CVE-2019-19507
Type cve
Reporter cve@mitre.org
Modified 2019-12-19T17:42:00

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.