PYSEC-2022-198
Quick fix
PYSEC-2022-198 — 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. In affected versions, the return of `<iface>.returns_int128()` is not validated to fall within the bounds of `int128`. This issue can result in a misinterpretation of the integer value and lead to incorrect behavior. As of v0.3.0, `<iface>.returns_int128()` is validated in simple expressions, but not complex expressions. Users are advised to upgrade. There is no known workaround for this issue.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 049dbdc647b2ce838fae7c188e6bb09cf16e470bpip 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"]}'