CVE-2023-32675

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:*

History

26 Oct 2023, 18:00

Type Values Removed Values Added
References (MISC) https://github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c520 - (MISC) https://github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c520 - Patch

04 Oct 2023, 14:15

Type Values Removed Values Added
References
  • {'url': 'https://github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c520.', 'name': 'https://github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c520.', 'tags': ['Broken Link', 'Patch'], 'refsource': 'MISC'}
  • (MISC) https://github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c520 -

02 Aug 2023, 16:22

Type Values Removed Values Added
CPE cpe:2.3:a:vyper_project:vyper:*:*:*:*:*:*:*:* cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:*
First Time Vyperlang vyper
Vyperlang

26 May 2023, 17:34

Type Values Removed Values Added
References (MISC) https://github.com/vyperlang/vyper/security/advisories/GHSA-vxmm-cwh2-q762 - (MISC) https://github.com/vyperlang/vyper/security/advisories/GHSA-vxmm-cwh2-q762 - Exploit, Patch, Vendor Advisory
References (MISC) https://github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c520. - (MISC) https://github.com/vyperlang/vyper/commit/02339dfda0f3caabad142060d511d10bfe93c520. - Broken Link, Patch
First Time Vyper Project
Vyper Project vyper
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
CPE cpe:2.3:a:vyper_project:vyper:*:*:*:*:*:*:*:*

Information

Published : 2023-05-19 20:15

Updated : 2024-02-28 20:13


NVD link : CVE-2023-32675

Mitre link : CVE-2023-32675

CVE.ORG link : CVE-2023-32675


JSON object : View

Products Affected

vyperlang

  • vyper
CWE
CWE-670

Always-Incorrect Control Flow Implementation