VDB
Sign up
MEDIUM5.3

PYSEC-2023-305

Quick fix

PYSEC-2023-305 — vyper: upgrade to the fixed version with the command below.

pip install --upgrade 'vyper>=0b740280c1e3c5528a20d47b29831948ddcc6d83'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/vyper
Introduced in: 0Fixed in: 0b740280c1e3c5528a20d47b29831948ddcc6d83
Fixpip install --upgrade 'vyper>=0b740280c1e3c5528a20d47b29831948ddcc6d83'

References