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:*:*:*:*:*:*:*:*

21 Apr 2022, 19:56

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
References (MISC) https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b - (MISC) https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b - Patch, Third Party Advisory
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
CWE CWE-120 CWE-119
CPE cpe:2.3:a:vyper_project:vyper:*:*:*:*:*:*:*:*

13 Apr 2022, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-04-13 19:15

Updated : 2024-02-04 22:29


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')