一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年10月21日

CVE-2020-37289 [LOW] – Vyper before 0.3.1 lacks a uint8 type, allowing interface return values declared as uint8,

未分类
📑 文章目录

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.