همهٔ گزارش‌ها
متوسط

Validation bypass is possible in Json Pattern Validator

متن اصلی

نسخه‌های متأثر

npmjpv
نسخه‌های متأثر
< 2.1.1
نسخهٔ اصلاح‌شده
2.1.1

بهره‌برداری

CVE-2019-19507

احتمال بهره‌برداری در ۳۰ روز آینده: 0.97%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

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.

پیوندها