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

exploitDog

github логотип

GHSA-5653-437f-5hmc

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

Описание

Denial of service

The use of String.to_atom/1 in PowAssent is susceptible to denial of service attacks. In PowAssent.Phoenix.AuthorizationController a value is fetched from the user provided params, and String.to_atom/1 is used to convert the binary value to an atom so it can be used to fetch the provider configuration value. This is unsafe as it is user provided data, and can be used to fill up the whole atom table of ~1M which will cause the app to crash.

Пакеты

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

pow_assent

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

< 0.4.4

0.4.4

EPSS

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

6.5 Medium

CVSS3

Дефекты

CWE-400

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

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

The use of `String.to_atom/1` in PowAssent is susceptible to denial of service attacks. In `PowAssent.Phoenix.AuthorizationController` a value is fetched from the user provided params, and `String.to_atom/1` is used to convert the binary value to an atom so it can be used to fetch the provider configuration value. This is unsafe as it is user provided data, and can be used to fill up the whole atom table of ~1M which will cause the app to crash.

EPSS

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

6.5 Medium

CVSS3

Дефекты

CWE-400