Advisory

PYSEC-2024-163

Also known as: CVE-2024-32648, GHSA-m2v9-w374-5hj9

Summary

The record has no summary.

Details

Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. Prior to version 0.3.0, default functions don't respect nonreentrancy keys and the lock isn't emitted. No vulnerable production contracts were found. Additionally, using a lock on a default function is a very sparsely used pattern. As such, the impact is low. Version 0.3.0 contains a patch for the issue.

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
2024-04-25 18:15 UTC
Modified
2026-06-10 17:14 UTC

Affected packages and fixes

vyper

PyPI · All systems

Affected

  • introduced 0, fixed 0.3.0 (ecosystem)

Fixed versions

0.3.0

Fix

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

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