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.
References
Link | Resource |
---|---|
https://www.npmjs.com/package/jpv | Product |
https://github.com/manvel-khnkoyan/jpv/issues/6 | Exploit Issue Tracking Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2019-12-02 09:15
Updated : 2019-12-19 09:42
NVD link : CVE-2019-19507
Mitre link : CVE-2019-19507
JSON object : View
CWE
CWE-287
Improper Authentication
Products Affected
json_pattern_validator_project
- json_pattern_validator