Vulnerability CVE-2019-19507


Published: 2019-12-02   Modified: 2019-12-04

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.

Type:

CWE-287

(Improper Authentication)

CVSS2 => (AV:N/AC:L/Au:N/C:N/I:P/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
5/10
2.9/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
None
Partial
None
Affected software
Json pattern validator project -> Json pattern validator 

 References:
https://github.com/manvel-khnkoyan/jpv/issues/6
https://www.npmjs.com/package/jpv

Copyright 2024, cxsecurity.com

 

Back to Top