CVE-2023-42441

Vyper has incorrect re-entrancy lock when key is empty string

Published Sep 18, 2023 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0274 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.
Github GHSA Github GHSA GHSA-3hg2-r75x-g69m Vyper has incorrect re-entrancy lock when key is empty string
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 24, 2024, 6:58 PM
Reserved
Sep 8, 2023, 8:57 PM
Status
Modified
Published
Sep 18, 2023, 9:16 PM
Modified
Jun 17, 2026, 6:23 AM