CVE-2020-15899: Grin insufficient data validation
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.31685%
CWE
Published
5/24/2022
Updated
2/1/2024
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| grin | rust | >= 3.0.0, < 4.0.0 | 4.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from incorrect node_mask calculation in Cuckaroom29 PoW implementation. Technical details explicitly show the error was using (edge_mask >> 1) instead of edge_mask when creating the graph, directly reducing node space. The CuckooParams::new function's failure to properly initialize node_bits=29 (using edge_bits instead) compounded the issue. These functions are specifically called out in security disclosures and patched in v4.0.0 through parameter corrections.