Advisory

PYSEC-2023-77

Also known as: CVE-2023-31146, GHSA-3p37-3636-q8wv

Summary

The record has no summary.

Details

Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, during codegen, the length word of a dynarray is written before the data, which can result in out-of-bounds array access in the case where the dynarray is on both the lhs and rhs of an assignment. The issue can cause data corruption across call frames. The expected behavior is to revert due to out-of-bounds array access. Version 0.3.8 contains a patch for this issue.

Severity

Not rated by the source.

Dates

Published
2023-05-11 21:15 UTC
Modified
2023-11-08 04:12 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