id: PYSEC-2023-305 modified: 2024-11-21T14:23:02.698147Z published: 2023-09-18T21:16:00Z aliases: - CVE-2023-42441 - GHSA-3hg2-r75x-g69m details: Vyper is a Pythonic Smart Contract Language for the Ethereum Virtual Machine (EVM). Starting in version 0.2.9 and prior to version 0.3.10, locks of the type `@nonreentrant("")` or `@nonreentrant('')` do not produce reentrancy checks at runtime. This issue is fixed in version 0.3.10. As a workaround, ensure the lock name is a non-empty string. affected: - package: ecosystem: PyPI name: vyper purl: pkg:pypi/vyper ranges: - type: GIT events: - introduced: "0" - fixed: 0b740280c1e3c5528a20d47b29831948ddcc6d83 repo: https://github.com/vyperlang/vyper - type: ECOSYSTEM events: - introduced: 0.2.9 - fixed: 0.3.10 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 - 0.3.0 - 0.3.1 - 0.3.10rc1 - 0.3.10rc2 - 0.3.10rc3 - 0.3.10rc4 - 0.3.10rc5 - 0.3.2 - 0.3.3 - 0.3.4 - 0.3.5 - 0.3.6 - 0.3.7 - 0.3.8 - 0.3.9 severity: - type: CVSS_V3 score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N references: - type: EVIDENCE url: https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m - type: FIX url: https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m - type: ADVISORY url: https://github.com/vyperlang/vyper/security/advisories/GHSA-3hg2-r75x-g69m - type: REPORT url: https://github.com/vyperlang/vyper/pull/3605 - type: FIX url: https://github.com/vyperlang/vyper/pull/3605 - type: FIX url: https://github.com/vyperlang/vyper/commit/0b740280c1e3c5528a20d47b29831948ddcc6d83