VDB
Sign up
MEDIUM5.3

PYSEC-2024-163

Quick fix

PYSEC-2024-163 — vyper: upgrade to the fixed version with the command below.

pip install --upgrade 'vyper>=93287e5ac184b53b395c907d40701f721daf8177'

Details

Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. Prior to version 0.3.0, default functions don't respect nonreentrancy keys and the lock isn't emitted. No vulnerable production contracts were found. Additionally, using a lock on a `default` function is a very sparsely used pattern. As such, the impact is low. Version 0.3.0 contains a patch for the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

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"]}'