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.
Advisories
Source ID Title
EUVD EUVD EUVD-2023-0273 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.
Github GHSA Github GHSA GHSA-vxmm-cwh2-q762 Vyper's nonpayable default functions are sometimes payable
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 12 Feb 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-02-12T16:36:34.945Z

Reserved: 2023-05-11T16:33:45.730Z

Link: CVE-2023-32675

cve-icon Vulnrichment

Updated: 2024-08-02T15:25:36.340Z

cve-icon NVD

Status : Modified

Published: 2023-05-19T20:15:09.230

Modified: 2024-11-21T08:03:49.630

Link: CVE-2023-32675

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.