cve/2024/CVE-2024-26149.md
2024-06-09 00:33:16 +00:00

19 lines
1.1 KiB
Markdown

### [CVE-2024-26149](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-26149)
![](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-119%3A%20Improper%20Restriction%20of%20Operations%20within%20the%20Bounds%20of%20a%20Memory%20Buffer&color=brighgreen)
### Description
Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. If an excessively large value is specified as the starting index for an array in `_abi_decode`, it can cause the read position to overflow. This results in the decoding of values outside the intended array bounds, potentially leading to exploitations in contracts that use arrays within `_abi_decode`. This vulnerability affects 0.3.10 and earlier versions.
### POC
#### Reference
- https://github.com/vyperlang/vyper/security/advisories/GHSA-9p8r-4xp4-gw5w
- https://github.com/vyperlang/vyper/security/advisories/GHSA-9p8r-4xp4-gw5w
#### Github
No PoCs found on GitHub currently.