CVEvulnerability
CVE-2023-32675
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-05-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 3.7 LOW — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-670
Description
Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In contracts with more than one regular nonpayable function, it is possible to send funds to the default function, even if the default function is marked `nonpayable`. This applies to contracts compiled with vyper versions prior to 0.3.8. This issue was fixed by the removal of the global `calldatasize` check in commit `02339dfda`. Users are advised to upgrade to version 0.3.8. Users unable to upgrade should avoid use of nonpayable default functions.
Affected configurations
• vyperlang vyper (< 0.3.8)
Related
Weakness · CWE (1)
- CWE-670 Always-Incorrect Control Flow Implementation weakness
References
- https://github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c520 Patch
- https://github.com/vyperlang/vyper/security/advisories/GHSA-vxmm-cwh2-q762 Exploit, Patch, Vendor Advisory
- https://github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c520 Patch
- https://github.com/vyperlang/vyper/security/advisories/GHSA-vxmm-cwh2-q762 Exploit, Patch, Vendor Advisory