CVE-2023-32059

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductVyper
PublishedMay 11, 2023
First seenMay 11, 2023
Weakness typeCWE-683CWE-683

How to fix

Update
  • vyperlang vyper0.3.8 or later
  • vyper0.3.8 or later

Affected products

ProductAffected versionsFixed in
vyperlang vyperv < 0.3.80.3.8
vyperPyPIv < 0.3.80.3.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.