CRITICAL9.8
PYSEC-2022-197
Quick fix
PYSEC-2022-197 — vyper: upgrade to the fixed version with the command below.
pip install --upgrade 'vyper>=049dbdc647b2ce838fae7c188e6bb09cf16e470b'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/vyper
Introduced in:
0Fixed in: 049dbdc647b2ce838fae7c188e6bb09cf16e470bFix
pip install --upgrade 'vyper>=049dbdc647b2ce838fae7c188e6bb09cf16e470b'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"]}'