[CVE-2020-37289] Vyper before 0.3.1 lacks a uint8 type, allowing interface re

CVE-2020-37289 | CVSS: 3.7 | 严重级别: LOW

Vyper before 0.3.1 lacks a uint8 type, allowing interface return values declared as uint8, such as ERC20.decimals(), to be stored in uint256 variables without bounds checking. Malicious contracts can return values greater than 255 to manipulate or bypass contract logic that relies on these values.

参考链接:
• https://github.com/vyperlang/vyper/security/advisories/GHSA-mr6r-mvw4-736g
• https://www.vulncheck.com/advisories/vyper-before-0.3.1-improper-input-validatio

📌 数据来源: NVD 官方

⚠️ 合规声明: 本文内容仅用于网络安全合规学习、科研与授权测试用途。严禁用于任何未授权行为,违者自行承担全部法律责任。
滚动至顶部