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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
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 |
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.
References
History
No history.
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-05T02:16:48.050Z
Reserved: 2019-12-02T00:00:00
Link: CVE-2019-19507
No data.
Status : Modified
Published: 2019-12-02T17:15:13.187
Modified: 2024-11-21T04:34:51.450
Link: CVE-2019-19507
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA