Vyper vulnerable to integer overflow in loop
CVE-2023-32058
What is CVE-2023-32058?
An overflow vulnerability in Vyper, a smart contract language for the Ethereum virtual machine, allows for potential exploits in loop constructs. The issue arises when assigning the iterator variable in a loop defined as for i in range(a, a + N), leading to possible overflow due to missing checks. In contrast, the compiler effectively raises a TypeMismatch error for other loop types, such as for i in range(start, stop), thus preventing overflow in those cases. This vulnerability has been addressed in version 0.3.8, and all users are encouraged to upgrade to mitigate risks.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
vyper < 0.3.8
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
