cve/2024/CVE-2024-24564.md
2025-09-29 16:08:36 +00:00

18 lines
888 B
Markdown

### [CVE-2024-24564](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24564)
![](https://img.shields.io/static/v1?label=Product&message=vyper&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%200.4.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-125%3A%20Out-of-bounds%20Read&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/vyperlang/vyper/security/advisories/GHSA-4hwq-4cpm-8vmx
#### Github
No PoCs found on GitHub currently.