Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| vyperlang / vyper | affected 0.2.13 before 0.2.15; unaffected 0.2.15 |
CWE
CWE-787
References
- https://github.com/vyperlang/vyper/security/advisories/GHSA-7f92-rr6w-cq64
- https://www.vulncheck.com/advisories/vyper-0.2.13-before-0.2.15-storage-corruption-via-nonreentrant-decorator
ADP enrichment
No English description supplied.
No references supplied.