CVE-2023-42441 MEDIUM

CVE-2023-42441: Vyper has incorrect re-entrancy lock when key is empty string

Vendor Vyperlang
Product vyper
Weakness CWE-833
Published September 18, 2023
Last update September 24, 2024

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What the vulnerability does

01Description

Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). Starting in version 0.2.9 and prior to version 0.3.10, locks of the type `@nonreentrant("")` or `@nonreentrant('')` do not produce reentrancy checks at runtime. This issue is fixed in version 0.3.10. As a workaround, ensure the lock name is a non-empty string.

Key dates

02Disclosure timeline

September 18, 2023 CVE published
September 24, 2024 Record updated