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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-31146— Vyper vulnerable to OOB DynArray access when array is on both LHS and RHS of an assignment

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 1.24% · P68

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-31146

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 OOB DynArray access when array is on both LHS and RHS of an assignment
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, 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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-31146

# 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-31146

请登录查看更多情报信息。

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

Vendor Advisories for CVE-2023-31146 (1)

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

CVE-2023-32058 7.5 HIGH Vyper vulnerable to integer overflow in loop
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-31146

No comments yet


Leave a comment