CVE-2023-32059 HIGH

CVE-2023-32059: Vyper vulnerable to incorrect ordering of arguments for kwargs passed to internal calls

Vendor Vyperlang
Product vyper
Weakness CWE-683
Published May 11, 2023
Last update January 24, 2025

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 11, 2023 CVE published
January 24, 2025 Record updated