CVE-2023-42441 Vyper has incorrect re-entrancy lock when key is empty string
MediumCVSS 5.3
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi vyper(PyPI) | >= 0.2.9, < 0.3.10 | 0.3.10 |
| pypi vyper(PyPI) | = 0.2.10 | No fix listed |
| pypi vyper(PyPI) | = 0.2.11 | No fix listed |
| pypi vyper(PyPI) | = 0.2.12 | No fix listed |
| pypi vyper(PyPI) | = 0.2.13 | No fix listed |
| pypi vyper(PyPI) | = 0.2.14 | No fix listed |
| pypi vyper(PyPI) | = 0.2.15 | No fix listed |
| pypi vyper(PyPI) | = 0.2.16 | No fix listed |
| pypi vyper(PyPI) | = 0.2.9 | No fix listed |
| pypi vyper(PyPI) | = 0.3.0 | No fix listed |
| pypi vyper(PyPI) | = 0.3.1 | No fix listed |
| pypi vyper(PyPI) | = 0.3.10rc1 | No fix listed |
| pypi vyper(PyPI) | = 0.3.10rc2 | No fix listed |
| pypi vyper(PyPI) | = 0.3.10rc3 | No fix listed |
| pypi vyper(PyPI) | = 0.3.10rc4 | No fix listed |
| pypi vyper(PyPI) | = 0.3.10rc5 | No fix listed |
| pypi vyper(PyPI) | = 0.3.2 | No fix listed |
| pypi vyper(PyPI) | = 0.3.3 | No fix listed |
| pypi vyper(PyPI) | = 0.3.4 | No fix listed |
| pypi vyper(PyPI) | = 0.3.5 | No fix listed |
| pypi vyper(PyPI) | = 0.3.6 | No fix listed |
| pypi vyper(PyPI) | = 0.3.7 | No fix listed |
| pypi vyper(PyPI) | = 0.3.8 | No fix listed |
| pypi vyper(PyPI) | = 0.3.9 | No fix listed |
| vyperlang vyper | = >= 0.2.9, < 0.3.10 | No fix listed |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| vyperlang vyper | >= 0.2.9, < 0.3.10 | 0.3.10 |
References
- https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m exploit patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/vyperlang/vyper/pull/3605 issue-tracking patch
- https://github.com/vyperlang/vyper/commit/0b740280c1e3c5528a20d47b29831948ddcc6d83 patch
- github.com
- github.com product
- github.com