Skip to main content
← All vulnerabilities
CVE-2022-24845GHSA-J2X6-9323-FP7HPYSEC-2022-198

Integer bounds error in Vyper

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • vyperlang vyper

    fixed in 0.3.2

  • vyperPyPI

    fixed in 0.3.2

References 2

GitHub · vyperlang/vyper