Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, during codegen, the length word of a dynarray is written before the data, which can result in out-of-bounds array access in the case where the dynarray is on both the lhs and rhs of an assignment. The issue can cause data corruption across call frames. The expected behavior is to revert due to out-of-bounds array access. Version 0.3.8 contains a patch for this issue.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2023-05-11T20:51:51.666Z
Updated: 2024-08-02T14:45:25.685Z
Reserved: 2023-04-24T21:44:10.418Z
Link: CVE-2023-31146
Vulnrichment
No data.
NVD
Status : Analyzed
Published: 2023-05-11T21:15:10.240
Modified: 2023-08-02T16:22:18.663
Link: CVE-2023-31146
Redhat
No data.