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

exploitDog

github логотип

GHSA-4mrx-6fxm-8jpg

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

Описание

Buffer Overflow in vyper

Impact

Importing a function from a JSON interface which returns bytes generates bytecode which does not clamp bytes length, potentially resulting in a buffer overrun.

Patches

0.3.2 (as of https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b)

Workarounds

Use .vy interfaces.

Пакеты

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

vyper

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

< 0.3.2

0.3.2

EPSS

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

7.1 High

CVSS4

7.1 High

CVSS3

Дефекты

CWE-119
CWE-120

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

CVSS3: 7.1
nvd
почти 4 года назад

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. Versions of vyper prior to 0.3.2 suffer from a potential buffer overrun. Importing a function from a JSON interface which returns `bytes` generates bytecode which does not clamp bytes length, potentially resulting in a buffer overrun. Users are advised to upgrade. There are no known workarounds for this issue.

EPSS

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

7.1 High

CVSS4

7.1 High

CVSS3

Дефекты

CWE-119
CWE-120