3.7Düşük
CVE-2020-37289Vyper before 0.3.1 Improper Input Validation of uint8 Interface Return Values
Açıklama
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.
Zayıflık türü (CWE):
CWE-20
Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.
Etkilenen ürünler ve sürümler
Kaynaklar ve yamalar
- GitHub Security Advisory (GHSA-mr6r-mvw4-736g) vendor-advisory
- VulnCheck Advisory: Vyper before 0.3.1 Improper Input Validation of uint8 Interface Return Values third-party-advisory