Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2021-48019

Vyper before 0.2.9 Incorrect RETURNDATASIZE in create_forwarder_to Proxies

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

vyperlang vyper

Default version status: unaffected

  • 0 to < 0.2.9affected
  • 0.2.9unaffected
pkg:pypi/vyper

References