Advisory

PYSEC-2022-197

Also known as: CVE-2022-24788, GHSA-4mrx-6fxm-8jpg

Summary

The record has no summary.

Details

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. Versions of vyper prior to 0.3.2 suffer from a potential buffer overrun. Importing a function from a JSON interface which returns bytes generates bytecode which does not clamp bytes length, potentially resulting in a buffer overrun. Users are advised to upgrade. There are no known workarounds for this issue.

Severity

Not rated by the source.

Dates

Published
2022-04-13 19:15 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

vyper

PyPI · All systems

Affected

  • introduced 0, fixed 0.3.2 (ecosystem)

Fixed versions

0.3.2

Fix

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

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