Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| vyperlang / vyper | affected 0.1.0b10 before 0.2.3; unaffected 0.2.3 |
CWE
CWE-670
References
- https://github.com/vyperlang/vyper/security/advisories/GHSA-vg88-3v92-rjx2
- https://www.vulncheck.com/advisories/vyper-0.1-0b10-before-0.2.3-invalid-jump-destination-via-return-in-nested-loops
ADP enrichment
No English description supplied.
No references supplied.