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: 0b740280c1e3c5528a20d47b29831948ddcc6d83Fix
pip install --upgrade 'vyper>=0b740280c1e3c5528a20d47b29831948ddcc6d83'References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/vyper"]}'