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

exploitDog

github логотип

GHSA-h9x2-5rm7-x4gm

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

Описание

Insecure Comparison in secure-compare

Versions of secure-compare prior to 3.0.1 are affected by a vulnerability that results in the package always returning true when comparing two strings of the same length, despite differences in the contents of those strings.

Recommendation

Upgrade to version 3.0.1 or later.

Пакеты

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

secure-compare

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

< 3.0.1

3.0.1

EPSS

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

Дефекты

CWE-697

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

CVSS3: 5.3
nvd
больше 7 лет назад

secure-compare 3.0.0 and below do not actually compare two strings properly. compare was actually comparing the first argument with itself, meaning the check passed for any two strings of the same length.

EPSS

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

Дефекты

CWE-697