CVEvulnerability
CVE-2019-19507
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2019-12-02
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-287
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.
Affected configurations
• json pattern validator project json pattern validator (< 2.1.1)
Related
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness
References
- https://github.com/manvel-khnkoyan/jpv/issues/6 Exploit, Issue Tracking, Third Party Advisory
- https://www.npmjs.com/package/jpv Product
- https://github.com/manvel-khnkoyan/jpv/issues/6 Exploit, Issue Tracking, Third Party Advisory
- https://www.npmjs.com/package/jpv Product