Advisory

PYSEC-2023-305

Also known as: CVE-2023-42441, GHSA-3hg2-r75x-g69m

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2023-09-18 21:16 UTC
Modified
2024-11-21 14:57 UTC

Affected packages and fixes

vyper

PyPI · All systems

Affected

  • introduced 0.2.9, fixed 0.3.10 (ecosystem)

Fixed versions

0.3.10

Fix

  • Fixed version 0.3.10
    pip install --upgrade vyper==0.3.10

Fix 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

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences