Skip to main content
← All vulnerabilities
CVE-2021-48019GHSA-375M-5FVV-XQ23

Vyper before 0.2.9 Incorrect RETURNDATASIZE in create_forwarder_to Proxies

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

Summary

Vyper before 0.2.9 deploys forwarder proxies through the built-in create_forwarder_to function that report a fixed 4096-byte RETURNDATASIZE rather than the actual return data size. Calls through these proxies can yield corrupted data when a function returns more than 4096 bytes without return data sanitation, and fail strict return-size checks such as SafeERC20.safeTransfer.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

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

  4. Record last updated

Affected versions

  • vyperlang vyper

    fixed in 0.2.9

  • vyperPyPI

    fixed in 0.2.9

References 2

GitHub · vyperlang/vyper

vulncheck.com