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.
Advisories
Source ID Title
EUVD EUVD EUVD-2023-0264 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.
Github GHSA Github GHSA GHSA-f5x6-7qgp-jhf3 ecrecover can return undefined data if signature does not verify
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 03 Oct 2024 19:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:*
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-10-03T18:59:13.773Z

Reserved: 2023-07-10T17:51:29.610Z

Link: CVE-2023-37902

cve-icon Vulnrichment

Updated: 2024-08-02T17:23:27.794Z

cve-icon NVD

Status : Modified

Published: 2023-07-25T21:15:10.550

Modified: 2024-11-21T08:12:25.897

Link: CVE-2023-37902

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.