CVE-2023-42441
Vyper has incorrect re-entrancy lock when key is empty string
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
Vyper es un Lenguaje de Contrato Inteligente de Python para la Máquina Virtual Ethereum (EVM). A partir de la versión 0.2.9 y anteriores a la versión 0.3.10, los bloqueos del tipo '@nonreentrant("")' o '@nonreentrant('')' no producen comprobaciones de reentrada en tiempo de ejecución. Este problema se corrigió en la versión 0.3.10. Como workaround, asegúrese de que el nombre del bloqueo sea una cadena no vacía.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2023-09-08 CVE Reserved
- 2023-09-18 CVE Published
- 2024-09-24 CVE Updated
- 2024-09-24 First Exploit
- 2024-10-20 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-667: Improper Locking
- CWE-833: Deadlock
CAPEC
References (3)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m | 2024-09-24 |
URL | Date | SRC |
---|---|---|
https://github.com/vyperlang/vyper/commit/0b740280c1e3c5528a20d47b29831948ddcc6d83 | 2023-09-21 | |
https://github.com/vyperlang/vyper/pull/3605 | 2023-09-21 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Vyperlang Search vendor "Vyperlang" | Vyper Search vendor "Vyperlang" for product "Vyper" | >= 0.2.9 < 0.3.10 Search vendor "Vyperlang" for product "Vyper" and version " >= 0.2.9 < 0.3.10" | python |
Affected
|