VDB
Sign up
HIGH7.5

PYSEC-2023-191

Quick fix

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

pip install --upgrade 'vyper>=0.3.10'

Details

Vyper is a Pythonic Smart Contract Language for the EVM. The `_abi_decode()` function does not validate input when it is nested in an expression. Uses of `_abi_decode()` can be constructed which allow for bounds checking to be bypassed resulting in incorrect results. This issue has not yet been fixed, but a fix is expected in release `0.3.10`. Users are advised to reference pull request #3626.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/vyper
Introduced in: 0.3.4Fixed in: 0.3.10
Fixpip install --upgrade 'vyper>=0.3.10'

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