GHSA-3hg2-r75x-g69m

    Dashboard / Vulnerabilities / GHSA-3hg2-r75x-g69m

    GHSA-3hg2-r75x-g69m

    Published: 18 Sept 2023Last Modified: 10 Sept 2026

    Summary: Vyper has incorrect re-entrancy lock when key is empty string

    Details: ### Impact Locks of the type `@nonreentrant("")` or `@nonreentrant('')` do not produce reentrancy checks at runtime. ```Vyper @nonreentrant("") # unprotected @external def bar(): pass @nonreentrant("lock") # protected @external def foo(): pass ``` ### Patches Patched in #3605 ### Workarounds The lock name should be a non-empty string. ### References _Are there any links users can visit to find out more?_

    Affected packages

    Package

    Name: vyper

    Purl: pkg:pypi/vyper

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0.2.9
    Fixed -0.3.10

    Affected versions

    0.2.10
    0.2.11
    0.2.12
    0.2.13
    0.2.14
    0.2.15
    0.2.16
    0.2.9

    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-3hg2-r75x-g69m | CVE-DB