GHSA-7f92-rr6w-cq64 – vyper
Package
Manager: pip
Name: vyper
Vulnerable Version: >=0.2.13 <0.2.15
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
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.
Metadata
Created: 2021-08-05T16:57:42Z
Modified: 2021-08-02T19:12:30Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-7f92-rr6w-cq64/GHSA-7f92-rr6w-cq64.json
CWE IDs: []
Alternative ID: N/A
Finding: F124
Auto approve: 1