Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-32058— Vyper vulnerable to integer overflow in loop

Quick assessment

Affected
vyperlang vyper
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Vyper是EVM 的 Pythonic 智能合约语言。 Vyper 0.3.8之前版本存在输入验证错误漏洞,该漏洞源于缺少对循环变量的溢出检查。

CVSS 7.5 · High EPSS 0.91% · P57

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-32058

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Vyper vulnerable to integer overflow in loop
Source: CVE Program / CVE List V5
Vulnerability Description
Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, due to missing overflow check for loop variables, by assigning the iterator of a loop to a variable, it is possible to overflow the type of the latter. The issue seems to happen only in loops of type `for i in range(a, a + N)` as in loops of type `for i in range(start, stop)` and `for i in range(stop)`, the compiler is able to raise a `TypeMismatch` when trying to overflow the variable. The problem has been patched in version 0.3.8.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
整数溢出或超界折返
Source: CVE Program / CVE List V5
Vulnerability Title
Vyper 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Vyper是EVM 的 Pythonic 智能合约语言。 Vyper 0.3.8之前版本存在输入验证错误漏洞,该漏洞源于缺少对循环变量的溢出检查。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
vyperlang vyper < 0.3.8 -

II. Public POCs for CVE-2023-32058

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-32058

登录查看更多情报信息。

Patches & Fixes for CVE-2023-32058 (1)

Vendor Advisories for CVE-2023-32058 (1)

Same Patch Batch · vyperlang · 2023-05-11 · 3 CVEs total

CVE-2023-31146 7.5 HIGH Vyper vulnerable to OOB DynArray access when array is on both LHS and RHS of an assignment
CVE-2023-32059 7.5 HIGH Vyper vulnerable to incorrect ordering of arguments for kwargs passed to internal calls

IV. Related Vulnerabilities

V. Comments for CVE-2023-32058

No comments yet


Leave a comment