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

exploitDog

github логотип

GHSA-3hg2-r75x-g69m

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

Описание

Vyper has incorrect re-entrancy lock when key is empty string

Impact

Locks of the type @nonreentrant("") or @nonreentrant('') do not produce reentrancy checks at runtime.

@nonreentrant("") # unprotected @external def bar(): pass @nonreentrant("lock") # protected @external def foo(): pass

Patches

Patched in #3605

Workarounds

The lock name should be a non-empty string.

References

Are there any links users can visit to find out more?

Пакеты

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

vyper

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

>= 0.2.9, < 0.3.10

0.3.10

EPSS

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

5.3 Medium

CVSS3

Дефекты

CWE-667
CWE-833

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

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

Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). Starting in version 0.2.9 and prior to version 0.3.10, locks of the type `@nonreentrant("")` or `@nonreentrant('')` do not produce reentrancy checks at runtime. This issue is fixed in version 0.3.10. As a workaround, ensure the lock name is a non-empty string.

EPSS

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

5.3 Medium

CVSS3

Дефекты

CWE-667
CWE-833