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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T02:16:48.050Z

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

Link: CVE-2019-19507

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T04:34:51.450

Link: CVE-2019-19507

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.