p PatchFirst

CVE-2021-48019

CVE-2021-48019 · Vyper before 0.2.9 Incorrect RETURNDATASIZE in create_forwarder_to Proxies

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.3 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • vyper

    Versions
    • ≥ 0, < 0.2.9: Affected (python)
    • 0.2.9: Not affected (python)

    Update to 0.2.9

  • vyper PyPI

    Versions
    • 0.1.0b1
    • 0.1.0b10
    • 0.1.0b11
    • 0.1.0b12
    • 0.1.0b13
    • 0.1.0b14
    • 0.1.0b15
    • 0.1.0b16
    • 0.1.0b17
    • 0.1.0b2
    • 0.1.0b3
    • 0.1.0b4
    • 0.1.0b5
    • 0.1.0b6
    • 0.1.0b7
    • 0.1.0b8
    • 0.1.0b9
    • 0.2.1
    • 0.2.2
    • 0.2.3
    • 0.2.4
    • 0.2.5
    • 0.2.6
    • 0.2.7
    • 0.2.8
    Affected ranges
    • ECOSYSTEM: < 0.2.9

    Update to 0.2.9

Original sources

Check your server →