Advisory

PYSEC-2024-164

Also known as: CVE-2024-26149, GHSA-9p8r-4xp4-gw5w

Summary

The record has no summary.

Details

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. If an excessively large value is specified as the starting index for an array in _abi_decode, it can cause the read position to overflow. This results in the decoding of values outside the intended array bounds, potentially leading to exploitations in contracts that use arrays within _abi_decode. This vulnerability affects 0.3.10 and earlier versions.

Severity

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

Dates

Published
2024-02-26 20:19 UTC
Modified
2026-06-10 17:14 UTC

Affected packages and fixes

vyper

PyPI · All systems

Affected

  • introduced 0, fixed 0.4.0b1 (ecosystem)

Fixed versions

0.4.0b1

Fix

  • Fixed version 0.4.0b1
    pip install --upgrade vyper==0.4.0b1

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