{"id":"CVE-2023-32059","published":"2023-05-11T21:01:11Z","modified":"2025-01-24T15:54:40Z","title":"Vyper vulnerable to incorrect ordering of arguments for kwargs passed to internal calls","vendor":"vyperlang","product":"vyper","tier":"tail","description":{"text":"Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, internal calls with default arguments are compiled incorrectly. Depending on the number of arguments provided in the call, the defaults are added not right-to-left, but left-to-right. If the types are incompatible, typechecking is bypassed. The ability to pass kwargs to internal functions is an undocumented feature that is not well known about. The issue is patched in version 0.3.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00725,"percentile":0.55004,"provenance":"source"},"cwes":[{"id":"CWE-683","name":"Function Call With Incorrect Order of Arguments"}],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-ph9x-4vc9-m39g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vyperlang/vyper/commit/c3e68c302aa6e1429946473769dd1232145822ac","tags":["x_refsource_MISC"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":11.0},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"vyperlang","affectedVersions":[{"vendor":"vyperlang","product":"vyper","versions":["< 0.3.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-24T15:51:03.268758Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"vyper","vulnerableRanges":["<0.3.8"],"patched":["0.3.8"],"from":["GHSA-ph9x-4vc9-m39g","PYSEC-2023-79"],"provenance":"source"}],"summary":{"text":"Vyper, a Pythonic smart contract language for the Ethereum virtual machine, compiles internal calls that use default arguments incorrectly prior to version 0.3.8: when a call supplies some but not all arguments, defaults are filled in left-to-right instead of right-to-left, and where the types are incompatible, typechecking is bypassed. Exploitation requires that a contract make such an internal call with keyword arguments, a feature that is undocumented and not well known, and the attack vector is network-based with no privileges or user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:46Z"},"euvd":{"id":"EUVD-2023-0272","exploited":false,"provenance":"source"}}