Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vyperlang | Vyper | < 0.3.8 |
Related Weaknesses (CWE)
References
- https://github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c5Patch
- https://github.com/vyperlang/vyper/security/advisories/GHSA-vxmm-cwh2-q762ExploitPatchVendor Advisory
- https://github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c5Patch
- https://github.com/vyperlang/vyper/security/advisories/GHSA-vxmm-cwh2-q762ExploitPatchVendor Advisory
FAQ
What is CVE-2023-32675?
CVE-2023-32675 is a vulnerability with a CVSS score of 3.7 (LOW). 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...
How severe is CVE-2023-32675?
CVE-2023-32675 has been rated LOW with a CVSS base score of 3.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-32675?
Check the references section above for vendor advisories and patch information. Affected products include: Vyperlang Vyper.