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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:51

Type Values Removed Values Added
References () https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b - Patch, Third Party Advisory () https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b - Patch, Third Party Advisory
References () https://github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg - Patch, Third Party Advisory () https://github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg - Patch, Third Party Advisory
CVSS v2 : 7.5
v3 : 9.8
v2 : 7.5
v3 : 7.1

02 Aug 2023, 16:22

Type Values Removed Values Added
First Time Vyperlang
Vyperlang vyper
CPE cpe:2.3:a:vyper_project:vyper:*:*:*:*:*:*:*:* cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:*

Information

Published : 2022-04-13 19:15

Updated : 2024-11-21 06:51


NVD link : CVE-2022-24788

Mitre link : CVE-2022-24788

CVE.ORG link : CVE-2022-24788


JSON object : View

Products Affected

vyperlang

  • vyper
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer