p PatchFirst

CVE-2020-37288

CVE-2020-37288 · Vyper 0.1.0b10 before 0.2.3 Invalid Jump Destination via Return in Nested Loops

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

Vyper from 0.1.0b10 before 0.2.3 generates incorrect code for a return statement inside a for loop in an internal function called two or more internal calls deep, producing an invalid jump destination (stack underflow). Affected contracts revert such calls unnecessarily, which in limited circumstances could enable denial of service against public contracts.

CVSS 6.3 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • vyper

    Versions
    • ≥ 0.1.0b10, < 0.2.3: Affected (python)
    • 0.2.3: Not affected (python)

    Update to 0.2.3

  • vyper PyPI

    Versions
    • 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.2.1
    • 0.2.2
    Affected ranges
    • ECOSYSTEM: ≥ 0.1.0b10, < 0.2.3

    Update to 0.2.3

Original sources

Check your server →