Описание
Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In versions 0.3.10 and earlier, the bounds check for slices does not account for the ability for start + length to overflow when the values aren't literals. If a slice() function uses a non-literal argument for the start or length variable, this creates the ability for an attacker to overflow the bounds check. This issue can be used to do OOB access to storage, memory or calldata addresses. It can also be used to corrupt the length slot of the respective array.
Ссылки
- Product
- Issue Tracking
- ExploitVendor Advisory
- Product
- Issue Tracking
- ExploitVendor Advisory
Уязвимые конфигурации
Конфигурация 1Версия до 0.3.10 (включая)
cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*
EPSS
Процентиль: 78%
0.0119
Низкий
9.8 Critical
CVSS3
Дефекты
CWE-119
CWE-787
Связанные уязвимости
CVSS3: 9.8
github
около 2 лет назад
Vyper's bounds check on built-in `slice()` function can be overflowed
EPSS
Процентиль: 78%
0.0119
Низкий
9.8 Critical
CVSS3
Дефекты
CWE-119
CWE-787