NetSight
high7.4

CVE-2021-48018

Vyper from 0.2.13 before 0.2.15 allocates storage slots for @nonreentrant reentrancy locks at the same locations as contract storage variables.

Impact

Vyper from 0.2.13 before 0.2.15 allocates storage slots for @nonreentrant reentrancy locks at the same locations as contract storage variables. When a function using @nonreentrant is called, setting the lock overwrites the overlapping storage variable, corrupting contract state and breaking the contract's intended logic.

Affected products

ProductAffected versions
Vyper From 0.2.13
before 0.2.15

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References