CVE-2023-31146

Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, during codegen, the length word of a dynarray is written before the data, which can result in out-of-bounds array access in the case where the dynarray is on both the lhs and rhs of an assignment. The issue can cause data corruption across call frames. The expected behavior is to revert due to out-of-bounds array access. Version 0.3.8 contains a patch for this issue.
Configurations

Configuration 1 (hide)

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

History

21 Nov 2024, 08:01

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.1
v2 : unknown
v3 : 7.5
References () https://github.com/vyperlang/vyper/commit/4f8289a81206f767df1900ac48f485d90fc87edb - Patch () https://github.com/vyperlang/vyper/commit/4f8289a81206f767df1900ac48f485d90fc87edb - Patch
References () https://github.com/vyperlang/vyper/security/advisories/GHSA-3p37-3636-q8wv - Exploit, Vendor Advisory () https://github.com/vyperlang/vyper/security/advisories/GHSA-3p37-3636-q8wv - Exploit, Vendor Advisory

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
Vyperlang vyper

22 May 2023, 18:12

Type Values Removed Values Added
First Time Vyper Project vyper
Vyper Project
CPE cpe:2.3:a:vyper_project:vyper:*:*:*:*:*:*:*:*
References (MISC) https://github.com/vyperlang/vyper/security/advisories/GHSA-3p37-3636-q8wv - (MISC) https://github.com/vyperlang/vyper/security/advisories/GHSA-3p37-3636-q8wv - Exploit, Vendor Advisory
References (MISC) https://github.com/vyperlang/vyper/commit/4f8289a81206f767df1900ac48f485d90fc87edb - (MISC) https://github.com/vyperlang/vyper/commit/4f8289a81206f767df1900ac48f485d90fc87edb - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1

11 May 2023, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-05-11 21:15

Updated : 2025-01-24 16:15


NVD link : CVE-2023-31146

Mitre link : CVE-2023-31146

CVE.ORG link : CVE-2023-31146


JSON object : View

Products Affected

vyperlang

  • vyper
CWE
CWE-787

Out-of-bounds Write