Junglewise Threat Intelligence

CVE-2022-24845: PYSEC-2022-198 - Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In affected versions, the return of `<iface>.returns_int128()`

CVE-2022-24845 · Severity: low · CVSS 3.1 · Published 2022-04-13

Technologies: vyper (PyPI). Vendors: PyPI.

Executive brief

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.

Affected products

  • PyPI vyper

Related threats