CVE-2023-42441
Vyper has incorrect re-entrancy lock when key is empty string
5.3
MEDIUM
CVSS 3.1
EPSS 0.15%
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.
How to fix CVE-2023-42441
To remediate CVE-2023-42441, upgrade the affected package to a fixed version below.
- —upgrade to 0.3.10 or later
- —upgrade to 0b740280c1e3c5528a20d47b29831948ddcc6d83 or later
Is CVE-2023-42441 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 0.2.9, < 0.3.10
- from 0, < 0b740280c1e3c5528a20d47b29831948ddcc6d83 | >= 0.2.9, < 0.3.10
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |