CVE-2022-24788
published 2022-04-13CVE-2022-24788: 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…
PriorityP349critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.95%
57.2th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| vyperlang | vyper | < 0.3.2 | 0.3.2 |
| vyperlang | vyper | >= 0 < 049dbdc647b2ce838fae7c188e6bb09cf16e470b | 049dbdc647b2ce838fae7c188e6bb09cf16e470b |
| vyperlang | vyper | >= 0 < 0.3.2 | 0.3.2 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Buffer Overflow in vyper
osv·2022-04-20
CVE-2022-24788 [HIGH] Buffer Overflow in vyper
Buffer Overflow in vyper
### Impact
Importing a function from a JSON interface which returns `bytes` generates bytecode which does not clamp bytes length, potentially resulting in a buffer overrun.
### Patches
0.3.2 (as of https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b)
### Workarounds
Use .vy interfaces.
GHSA
Buffer Overflow in vyper
ghsa·2022-04-20
CVE-2022-24788 [HIGH] CWE-119 Buffer Overflow in vyper
Buffer Overflow in vyper
### Impact
Importing a function from a JSON interface which returns `bytes` generates bytecode which does not clamp bytes length, potentially resulting in a buffer overrun.
### Patches
0.3.2 (as of https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b)
### Workarounds
Use .vy interfaces.
OSV
CVE-2022-24788: Vyper is a pythonic Smart Contract Language for the ethereum virtual machine
osv·2022-04-13
CVE-2022-24788 CVE-2022-24788: Vyper is a pythonic Smart Contract Language for the ethereum virtual machine
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.
No detection rules found.
No public exploits indexed.
https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470bhttps://github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpghttps://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470bhttps://github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg
2022-04-13
Published