CVE-2019-19507
Validation bypass is possible in Json Pattern Validator
5.3
MEDIUM
CVSS 3.1
EPSS 0.97%
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.
How to fix CVE-2019-19507
To remediate CVE-2019-19507, upgrade the affected package to a fixed version below.
- —upgrade to 2.1.1 or later
Is CVE-2019-19507 being exploited?
Low — EPSS is 1.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2.1.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |