CVE-2022-24788

High

Description

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductVyper
PublishedApr 13, 2022
First seenApr 13, 2022
Weakness typeCWE-120CWE-120

How to fix

Update
  • vyperlang vyper0.3.2 or later
  • vyper0.3.2 or later

Affected products

ProductAffected versionsFixed in
vyperlang vyperv < 0.3.20.3.2
vyperPyPIv < 0.3.20.3.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.