Advisory

PYSEC-2023-80

Also known as: CVE-2023-32675, GHSA-vxmm-cwh2-q762

Summary

The record has no summary.

Details

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In contracts with more than one regular nonpayable function, it is possible to send funds to the default function, even if the default function is marked nonpayable. This applies to contracts compiled with vyper versions prior to 0.3.8. This issue was fixed by the removal of the global calldatasize check in commit 02339dfda. Users are advised to upgrade to version 0.3.8. Users unable to upgrade should avoid use of nonpayable default functions.

Severity

Not rated by the source.

Dates

Published
2023-05-19 20:15 UTC
Modified
2026-02-22 22:49 UTC

Affected packages and fixes

vyper

PyPI · All systems

Affected

  • introduced 0, fixed 0.3.8 (ecosystem)

Fixed versions

0.3.8

Fix

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

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