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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-24560— Vyper external calls can overflow return data to return input buffer

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存在缓冲区错误漏洞,该漏洞源于将输入缓冲区中的错误数据误认为是返回数据。

CVSS 3.7 · Low EPSS 0.53% · P42

Possible ATT&CK Techniques 1 AI

T1200 · Hardware Additions
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-24560

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 external calls can overflow return data to return input buffer
Source: CVE Program / CVE List V5
Vulnerability Description
Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine. When calls to external contracts are made, we write the input buffer starting at byte 28, and allocate the return buffer to start at byte 0 (overlapping with the input buffer). When checking RETURNDATASIZE for dynamic types, the size is compared only to the minimum allowed size for that type, and not to the returned value's length. As a result, malformed return data can cause the contract to mistake data from the input buffer for returndata. When the called contract returns invalid ABIv2 encoded data, the calling contract can read different invalid data (from the dirty buffer) than the called contract returned.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/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存在缓冲区错误漏洞,该漏洞源于将输入缓冲区中的错误数据误认为是返回数据。
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.10 -

II. Public POCs for CVE-2024-24560

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-24560

登录查看更多情报信息。

Vendor Advisories for CVE-2024-24560 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-24560

No comments yet


Leave a comment