Vyper is a Pythonic programming language that targets the Ethereum Virtual Machine (EVM). Prior to version 0.3.10, the ecrecover precompile does not fill the output buffer if the signature does not verify. However, the ecrecover builtin will still return whatever is at memory location 0. This means that the if the compiler has been convinced to write to the 0 memory location with specially crafted data (generally, this can happen with a hashmap access or immutable read) just before the ecrecover, a signature check might pass on an invalid signature. Version 0.3.10 contains a patch for this issue.
References
Link | Resource |
---|---|
https://github.com/vyperlang/vyper/commit/019a37ab98ff53f04fecfadf602b6cd5ac748f7f | Patch |
https://github.com/vyperlang/vyper/security/advisories/GHSA-f5x6-7qgp-jhf3 | Exploit Third Party Advisory |
https://github.com/vyperlang/vyper/commit/019a37ab98ff53f04fecfadf602b6cd5ac748f7f | Patch |
https://github.com/vyperlang/vyper/security/advisories/GHSA-f5x6-7qgp-jhf3 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 08:12
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/vyperlang/vyper/commit/019a37ab98ff53f04fecfadf602b6cd5ac748f7f - Patch | |
References | () https://github.com/vyperlang/vyper/security/advisories/GHSA-f5x6-7qgp-jhf3 - Exploit, Third Party Advisory |
03 Aug 2023, 16:54
Type | Values Removed | Values Added |
---|---|---|
First Time |
Vyperlang vyper
Vyperlang |
|
CPE | cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.3 |
References | (MISC) https://github.com/vyperlang/vyper/commit/019a37ab98ff53f04fecfadf602b6cd5ac748f7f - Patch | |
References | (MISC) https://github.com/vyperlang/vyper/security/advisories/GHSA-f5x6-7qgp-jhf3 - Exploit, Third Party Advisory |
25 Jul 2023, 21:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-07-25 21:15
Updated : 2024-11-21 08:12
NVD link : CVE-2023-37902
Mitre link : CVE-2023-37902
CVE.ORG link : CVE-2023-37902
JSON object : View
Products Affected
vyperlang
- vyper
CWE
CWE-252
Unchecked Return Value