Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-rh46-3fgc-mvrf

Опубликовано: 04 дек. 2019
Источник: github
Github: Прошло ревью
CVSS3: 5.3

Описание

Validation bypass is possible in Json Pattern Validator

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.

Пакеты

Наименование

jpv

npm
Затронутые версииВерсия исправления

< 2.1.1

2.1.1

EPSS

Процентиль: 48%
0.00249
Низкий

5.3 Medium

CVSS3

Дефекты

CWE-287

Связанные уязвимости

CVSS3: 5.3
nvd
около 6 лет назад

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.

EPSS

Процентиль: 48%
0.00249
Низкий

5.3 Medium

CVSS3

Дефекты

CWE-287