CVE-2019-19507
Medium
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.
SeverityMedium
CVSS5.3
Exploit probability—
ProductJson Pattern Validator
PublishedDec 2, 2019
First seenDec 2, 2019
How to fix
Update
- json_pattern_validator_project json_pattern_validator2.1.1 or later
- jpv2.1.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| json_pattern_validator_project json_pattern_validator | v < 2.1.1 | 2.1.1 |
| jpvnpm | v < 2.1.1 | 2.1.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.