Skip to main content
← All vulnerabilities
CVE-2023-32059GHSA-PH9X-4VC9-M39GPYSEC-2023-79

Vyper vulnerable to incorrect ordering of arguments for kwargs passed to internal calls

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • vyperlang vyper

    fixed in 0.3.8

  • vyperPyPI

    fixed in 0.3.8

References 2

GitHub · vyperlang/vyper