Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2024-24560

Опубликовано: 02 фев. 2024
Источник: nvd
CVSS3: 3.7
CVSS3: 5.3
EPSS Низкий

Описание

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.

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*
Версия до 0.3.10 (включая)

EPSS

Процентиль: 70%
0.00644
Низкий

3.7 Low

CVSS3

5.3 Medium

CVSS3

Дефекты

CWE-119

Связанные уязвимости

CVSS3: 3.7
github
около 2 лет назад

Vyper's external calls can overflow return data to return input buffer

EPSS

Процентиль: 70%
0.00644
Низкий

3.7 Low

CVSS3

5.3 Medium

CVSS3

Дефекты

CWE-119