cve/2024/CVE-2024-32645.md
2024-06-18 02:51:15 +02:00

18 lines
1.1 KiB
Markdown

### [CVE-2024-32645](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32645)
![](https://img.shields.io/static/v1?label=Product&message=vyper&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%3D%200.3.10%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-20%3A%20Improper%20Input%20Validation&color=brighgreen)
### Description
Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. In versions 0.3.10 and prior, incorrect values can be logged when `raw_log` builtin is called with memory or storage arguments to be used as topics. A contract search was performed and no vulnerable contracts were found in production. The `build_IR` function of the `RawLog` class fails to properly unwrap the variables provided as topics. Consequently, incorrect values are logged as topics. As of time of publication, no fixed version is available.
### POC
#### Reference
- https://github.com/vyperlang/vyper/security/advisories/GHSA-xchq-w5r3-4wg3
#### Github
No PoCs found on GitHub currently.