CVE-2019-19507
Last modified
CVE-2019-19507 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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(). EPSS estimates a 0.97% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Json Pattern Validator Project | Json Pattern Validator | < 2.1.1 |
References
- https://github.com/manvel-khnkoyan/jpv/issues/6Exploit, Issue Tracking, Third Party Advisory
- https://github.com/manvel-khnkoyan/jpv/issues/6Exploit, Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-19507?
How severe is CVE-2019-19507?
How do I fix CVE-2019-19507?
Are you affected by CVE-2019-19507?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
