PT-2024-24739 · Vyper · Vyper

Cyberthirst

·

Published

2024-04-25

·

Updated

2025-01-02

·

CVE-2024-32646

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Vyper versions 0.3.10 and prior
Description Using the slice builtin can result in a double eval vulnerability when the buffer argument is either msg.data, self.code or <address>.code and either the start or length arguments have side-effects. The impact is low, and no vulnerable production contracts were found. Double evaluation of side-effects should be easily discoverable in client tests.
Recommendations As a temporary workaround, consider avoiding the use of the slice builtin with msg.data, self.code, or <address>.code as the buffer argument, especially when the start or length arguments have side-effects, until a fixed version is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

RCE

Weakness Enumeration

Related Identifiers

CVE-2024-32646
GHSA-R56X-J438-VW5M
PYSEC-2024-207

Affected Products

Vyper