What’s Vulnerable › Vulnerabilities

CVE-2024-24564: Vyper extract32 can ready dirty memory

Description

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. When using the built-in `extract32(b, start)`, if the `start` index provided has for side effect to update `b`, the byte array to extract `32` bytes from, it could be that some dirty memory is read and returned by `extract32`. This vulnerability is fixed in 0.4.0.

Affected products

How to fix

Upgrade to a fixed version: vyperlang vyper 0.4.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-24564 or the next vulnerability affects your stack