Buffer overflow in Vyperlang Vyper
CVE-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. 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N.
EPSS exploit prediction
EPSS 0.010, 63.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vyperlang Vyper — versions < 0.3.2
Weakness classification (CWE)
References
- github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg (Patch, Third Party Advisory)
- github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b (Patch, Third Party Advisory)