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

02 Aug 2023, 16:22

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

21 Apr 2022, 19:56

Type Values Removed Values Added
CPE cpe:2.3:a:vyper_project:vyper:*:*:*:*:*:*:*:*
First Time Vyper Project vyper
Vyper Project
CWE CWE-120 CWE-119
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
References (CONFIRM) https://github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg - (CONFIRM) https://github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg - Patch, Third Party Advisory
References (MISC) https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b - (MISC) https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b - Patch, Third Party Advisory

13 Apr 2022, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-04-13 19:15

Updated : 2023-12-10 14:22


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-119

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-120

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