GHSA-773q-5334-5gf9: Memory over-allocation in evm-core
N/A
CVSS Score
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
8/25/2021
Updated
6/13/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
-
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
evm-core | rust | >= 0.26.0, < 0.26.1 | 0.26.1 |
evm-core | rust | >= 0.25.0, < 0.25.1 | 0.25.1 |
evm-core | rust | >= 0.24.0, < 0.24.1 | 0.24.1 |
evm-core | rust | >= 0.23.0, < 0.23.1 | 0.23.1 |
evm-core | rust | < 0.21.1 | 0.21.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability was explicitly linked to Memory::copy_large
in the advisory description. The patch commit 19ade85
modifies this function by adding an early return when the input value is empty, directly addressing the over-allocation issue. The CWE-789 classification matches the pattern of unchecked memory allocation size validation. The file path and function name are explicitly referenced in both the vulnerability description and commit diff.