CVE-2023-42441

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

State
Published
Severity
5.3 Medium
Published
Sep 18, 2023
Updated
Sep 24, 2024
Reserved
Sep 8, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NGitHub_M

Weaknesses

Affected Products

ProductVersions
vypervyperlang
  • >= 0.2.9, < 0.3.10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.