CVE-2023-32675
Summary
| CVE | CVE-2023-32675 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-05-19 20:15:00 UTC |
| Updated | 2023-10-26 18:00:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-670
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Vyperlang | Vyper | All | All | All | All |
| Application | Vyper Project | Vyper | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| refactor: optimize calldatasize check (#3104) · vyperlang/vyper@02339df · GitHub | MISC | github.com | |
| nonpayable default functions can sometimes be sent ether with calldatasize<4 · Advisory · vyperlang/vyper · GitHub | MISC | github.com | |
| github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c520. | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.