vyper
Affected
- introduced
0.2.13, fixed0.2.15(ecosystem)
Fixed versions
0.2.15
Fix
- Fixed version
0.2.15pip install --upgrade vyper==0.2.15
Advisory
Also known as: CVE-2021-48018
Storage corruption due to variables overwritten by re-entrancy locks
Background
When attempting to use the v0.2.14 release, @pandadefi discovered an issue using the @nonreentrant decorator.
Impact
Reentrancy protection storage slots get allocated to the same slots as storage variables, leading to the corruption of storage variables when using the @nonreentrant decorator.
Patches
This issue was fixed in v0.2.15 in #2391, #2379
Workarounds
Don't use the @nonreentrant decorator in these versions.
High Basis: The source's own band: HIGH
0.2.13, fixed 0.2.15 (ecosystem)0.2.15
0.2.15pip install --upgrade vyper==0.2.15Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0