GHSA-7f92-rr6w-cq64

    Dashboard / Vulnerabilities / GHSA-7f92-rr6w-cq64

    GHSA-7f92-rr6w-cq64

    Published: 5 Aug 2021Last Modified: 2 Dec 2024

    Summary: Storage corruption due to variables overwritten by re-entrancy locks

    Details: ### 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.

    Affected packages

    Package

    Name: vyper

    Purl: pkg:pypi/vyper

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0.2.13
    Fixed -0.2.15

    Affected versions

    0.2.13
    0.2.14

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-7f92-rr6w-cq64 | CVE-DB