Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2020-37288

Vyper 0.1.0b10 before 0.2.3 Invalid Jump Destination via Return in Nested Loops

Description

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.

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.1.0b10 to < 0.2.3affected
  • 0.2.3unaffected
pkg:pypi/vyper

References