Vulnerability in Vyperlang Vyper
CVE-2023-37902
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.006 (45.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 45.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Vyperlang Vyper — versions < 0.3.10
Weakness classification (CWE)
References
- github.com/vyperlang/vyper/security/advisories/GHSA-f5x6-7qgp-jhf3 (Exploit, Third Party Advisory)
- github.com/vyperlang/vyper/commit/019a37ab98ff53f04fecfadf602b6cd5ac748f7f (Patch)
Frequently asked questions
- What is CVE-2023-37902?
- CVE-2023-37902 is a medium-severity vulnerability in Vyperlang Vyper, classified under CWE-252. CVSS score: 5.3/10. Published 2023-07-25.
- How severe is CVE-2023-37902?
- Medium severity. CVSS v3 base score is 5.3 out of 10.