Medium severity · published Dec 2, 2019
CVE-2019-19507
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…
5.3
CVSS
1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 62% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JP
Json Pattern Validator · Json Pattern Validator Project
before 2.1.1 · source: NVD
Affected product
JP
Json Pattern Validator
Json Pattern Validator Project
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-19507
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-19507
Exploit
https://github.com/manvel-khnkoyan/jpv/issues/6
Product
https://www.npmjs.com/package/jpv
More from Json Pattern Validator
9.8
CVE-2020-17479
jpv (aka Json Pattern Validator) before 2.2.2 does not properly validate input, as demonstrated by a corrupted array
