Advisory

PYSEC-2022-198

Also known as: CVE-2022-24845, GHSA-j2x6-9323-fp7h

Summary

The record has no summary.

Details

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In affected versions, the return of <iface>.returns_int128() is not validated to fall within the bounds of int128. This issue can result in a misinterpretation of the integer value and lead to incorrect behavior. As of v0.3.0, <iface>.returns_int128() is validated in simple expressions, but not complex expressions. Users are advised to upgrade. There is no known workaround for this issue.

Severity

Not rated by the source.

Dates

Published
2022-04-13 22: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