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.
Advisories
Source ID Title
EUVD EUVD EUVD-2019-0801 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.
Github GHSA Github GHSA GHSA-rh46-3fgc-mvrf Validation bypass is possible in Json Pattern Validator
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

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.

Weaknesses