Vulnerability Details : CVE-2023-42441
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.
Products affected by CVE-2023-42441
- cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-42441
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 34 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-42441
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
3.9
|
1.4
|
NIST | |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
3.9
|
1.4
|
GitHub, Inc. |
CWE ids for CVE-2023-42441
-
The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.Assigned by: nvd@nist.gov (Primary)
-
The product contains multiple threads or executable segments that are waiting for each other to release a necessary lock, resulting in deadlock.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2023-42441
-
https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m
incorrect re-entrancy lock when key is empty string · Advisory · vyperlang/vyper · GitHubExploit;Patch;Vendor Advisory
-
https://github.com/vyperlang/vyper/pull/3605
fix: only allow valid identifiers to be nonreentrant keys by charles-cooper · Pull Request #3605 · vyperlang/vyper · GitHubIssue Tracking;Patch
-
https://github.com/vyperlang/vyper/commit/0b740280c1e3c5528a20d47b29831948ddcc6d83
fix: only allow valid identifiers to be nonreentrant keys (#3605) · vyperlang/vyper@0b74028 · GitHubPatch
Jump to